aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-04-12 21:52:11 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-04-12 21:52:11 +0000
commited237c129d8445a45dbe5e8819353c468e6d24ee (patch)
treee5cc066cc8629390995d4a1e1d8ce22d4314f201 /editcap.c
parentc3459da28b5fb4a98aa8b13c91b195f40499ab7e (diff)
Build tethereal and editcap on Win32.
Add RCS ID tags to Makefile.nmake's. svn path=/trunk/; revision=1836
Diffstat (limited to 'editcap.c')
-rw-r--r--editcap.c21
1 files changed, 20 insertions, 1 deletions
diff --git a/editcap.c b/editcap.c
index 5efff45f75..63f79fba9b 100644
--- a/editcap.c
+++ b/editcap.c
@@ -1,21 +1,40 @@
/* Edit capture files. We can delete records, or simply convert from one
* format to another format.
*
- * $Id: editcap.c,v 1.6 2000/01/17 20:21:40 guy Exp $
+ * $Id: editcap.c,v 1.7 2000/04/12 21:51:27 gram Exp $
*
* Originally written by Richard Sharpe.
* Improved by Guy Harris.
* Further improved by Richard Sharpe.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <glib.h>
+
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
+
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#endif
+
+#ifdef HAVE_WINSOCK_H
+#include <winsock.h>
+#endif
+
#include <string.h>
#include "wtap.h"
+#ifdef NEED_GETOPT_H
+#include "getopt.h"
+#endif
+
/*
* Some globals so we can pass things to various routines
*/