diff options
author | Niels Provos <provos@gmail.com> | 2006-11-22 01:21:10 +0000 |
---|---|---|
committer | Niels Provos <provos@gmail.com> | 2006-11-22 01:21:10 +0000 |
commit | 868f10e7c9abe1cb38cd3cc84e6dd4a9b1d966cc (patch) | |
tree | 56b21273446fd6042caf6ec6d3520baa4647d8df /event_tagging.c | |
parent | 4aa780d6adf37a23985aa8f544087bc3b14aba9b (diff) | |
download | libevent-868f10e7c9abe1cb38cd3cc84e6dd4a9b1d966cc.tar.gz |
mingw fixes from Nick
svn:r271
Diffstat (limited to 'event_tagging.c')
-rw-r--r-- | event_tagging.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/event_tagging.c b/event_tagging.c index ac4e3475..b77494d7 100644 --- a/event_tagging.c +++ b/event_tagging.c @@ -32,7 +32,14 @@ #include "config.h" #endif +#ifdef WIN32 +#define WIN32_LEAN_AND_MEAN +#include <windows.h> +#undef WIN32_LEAN_AND_MEAN +#else #include <sys/ioctl.h> +#endif + #include <sys/tree.h> #include <sys/queue.h> #ifdef HAVE_SYS_TIME_H @@ -43,7 +50,9 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#ifndef WIN32 #include <syslog.h> +#endif #include <unistd.h> #include "event.h" |