diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-04-12 21:52:11 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-04-12 21:52:11 +0000 |
commit | ed237c129d8445a45dbe5e8819353c468e6d24ee (patch) | |
tree | e5cc066cc8629390995d4a1e1d8ce22d4314f201 /editcap.c | |
parent | c3459da28b5fb4a98aa8b13c91b195f40499ab7e (diff) | |
download | wireshark-ed237c129d8445a45dbe5e8819353c468e6d24ee.tar.gz wireshark-ed237c129d8445a45dbe5e8819353c468e6d24ee.tar.bz2 wireshark-ed237c129d8445a45dbe5e8819353c468e6d24ee.zip |
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.c | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -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 */ |