diff options
Diffstat (limited to 'import_libevent')
| -rwxr-xr-x | import_libevent | 4 | 
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; | 
