diff options
author | root <root> | 2008-11-17 03:37:08 +0000 |
---|---|---|
committer | root <root> | 2008-11-17 03:37:08 +0000 |
commit | c27a91776c880e9033a7a508953a37a64adf8e32 (patch) | |
tree | 34a5fa0f008dcf81d89d16954cd89b6b260dd2b3 /event.h | |
parent | 30085edcf5bec67cf26e3142f7a72bb96b8d6cd5 (diff) |
*** empty log message ***
Diffstat (limited to 'event.h')
-rw-r--r-- | event.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -50,6 +50,12 @@ extern "C" { #endif +/* we need sys/time.h for struct timeval only */ +#if !defined (WIN32) || defined (__MINGW32__) +# include <time.h> /* mingw seems to need this, for whatever reason */ +# include <sys/time.h> +#endif + struct event_base; #define EVLIST_TIMEOUT 0x01 |