aboutsummaryrefslogtreecommitdiff
path: root/tests/opentest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/opentest.c')
-rw-r--r--tests/opentest.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/opentest.c b/tests/opentest.c
index c81e8d90..79c9c941 100644
--- a/tests/opentest.c
+++ b/tests/opentest.c
@@ -31,14 +31,18 @@ The Regents of the University of California. All rights reserved.\n";
#include <string.h>
#include <stdarg.h>
#ifdef _WIN32
-#include "getopt.h"
+ #include "getopt.h"
#else
-#include <unistd.h>
+ #include <unistd.h>
#endif
#include <errno.h>
#include "pcap/funcattrs.h"
+#ifdef _WIN32
+ #include "portability.h"
+#endif
+
#define MAXIMUM_SNAPLEN 65535
static char *program_name;