summaryrefslogtreecommitdiff
path: root/import_libevent
diff options
context:
space:
mode:
Diffstat (limited to 'import_libevent')
-rwxr-xr-ximport_libevent4
1 files changed, 4 insertions, 0 deletions
diff --git a/import_libevent b/import_libevent
index 2765cae..6b0b8cd 100755
--- a/import_libevent
+++ b/import_libevent
@@ -14,6 +14,10 @@ perl -ne '
print "#ifndef EV_STANDALONE\n$_#endif\n";
next;
}
+ if (/#include "(unistd.h|sys/time.h)"/) {
+ print "#ifndef WIN32\n$_#endif\n";
+ next;
+ }
next if /#include "log.h"/;
print;