aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-06-25 18:59:43 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-06-25 18:59:43 +0000
commit6e2511a28bb1afa8d2dec5141a6d5724334944e4 (patch)
treedf2365dcb8e8d1414196ca0b1d27151fe15de7b6 /capture_opts.c
parent2e693964c60ab8e403271e79cfa5f5dcdaa9975f (diff)
Fix bug #1665 / From Nikns Siankin:
Fix compilation on OpenBSD. This needs to go into 0.99.6 release. svn path=/trunk/; revision=22188
Diffstat (limited to 'capture_opts.c')
-rw-r--r--capture_opts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/capture_opts.c b/capture_opts.c
index c33d8f1eb7..4472292c63 100644
--- a/capture_opts.c
+++ b/capture_opts.c
@@ -31,6 +31,10 @@
#include <string.h>
#include <ctype.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif