ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/event.h
(Generate patch)

Comparing libev/event.h (file contents):
Revision 1.18 by root, Fri May 23 16:37:38 2008 UTC vs.
Revision 1.20 by root, Mon Aug 3 12:12:40 2009 UTC

35 * and other provisions required by the GPL. If you do not delete the 35 * and other provisions required by the GPL. If you do not delete the
36 * provisions above, a recipient may use your version of this file under 36 * provisions above, a recipient may use your version of this file under
37 * either the BSD or the GPL. 37 * either the BSD or the GPL.
38 */ 38 */
39 39
40#ifndef EVENT_H__ 40#ifndef EVENT_H_
41#define EVENT_H__ 41#define EVENT_H_
42 42
43#ifdef EV_H 43#ifdef EV_H
44# include EV_H 44# include EV_H
45#else 45#else
46# include "ev.h" 46# include "ev.h"
47#endif 47#endif
48 48
49#ifdef __cplusplus 49#ifdef __cplusplus
50extern "C" { 50extern "C" {
51#endif
52
53/* we need sys/time.h for struct timeval only */
54#if !defined (WIN32) || defined (__MINGW32__)
55# include <time.h> /* mingw seems to need this, for whatever reason */
56# include <sys/time.h>
51#endif 57#endif
52 58
53struct event_base; 59struct event_base;
54 60
55#define EVLIST_TIMEOUT 0x01 61#define EVLIST_TIMEOUT 0x01

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines