aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-08-03 20:51:41 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-08-03 20:51:41 +0000
commitcfc4000010657c743d34bd0416632001eb89086c (patch)
tree87c91d84d817fb6c6dba25e6cddf334579d686d2 /capture.c
parent90e77d0e91d666c123514b4e17fe751c49760090 (diff)
Update version numbers to 0.7.0, and update win32 Makefiles. I made some
initial #ifdef changes to capture.c to support the win32 version of libpcap. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@428 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/capture.c b/capture.c
index 409052a469..e74e3ffcf3 100644
--- a/capture.c
+++ b/capture.c
@@ -1,7 +1,7 @@
/* capture.c
* Routines for packet capture windows
*
- * $Id: capture.c,v 1.39 1999/08/02 06:08:58 gram Exp $
+ * $Id: capture.c,v 1.40 1999/08/03 20:51:31 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -42,11 +42,25 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
+
#include <time.h>
+
+#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
+#endif
+
+#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
+#endif
+
+#ifdef HAVE_NET_IF_H
#include <net/if.h>
+#endif
+
#include <signal.h>
#include <errno.h>