diff options
-rw-r--r-- | scanner.l | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -65,9 +65,12 @@ #ifdef _WIN32 /* - * Suppress the #include of unistd.h; Windows doesn't have it. + * Make sure we suppress the #include of unistd.h; Windows doesn't have + * unistd.h. */ - #define YY_NO_UNISTD_H + #ifndef YY_NO_UNISTD_H + #define YY_NO_UNISTD_H + #endif #include <pcap-stdinc.h> #else |