aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-04-30 17:23:33 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-04-30 17:23:33 +0000
commit2777289f85f886aca83e404b2bc84e0e449e170a (patch)
tree9f4ebe0ff5de08e373a4324d15aa573c379cb1bd /capture.c
parenta416a4b6f573497c891c23b044777f0b95cb5873 (diff)
removed various gcc warnings
svn path=/trunk/; revision=14246
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/capture.c b/capture.c
index 50336593e7..db8ff029ef 100644
--- a/capture.c
+++ b/capture.c
@@ -28,6 +28,10 @@
#ifdef HAVE_LIBPCAP
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <ctype.h>