diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-01-10 17:33:17 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-01-10 17:33:17 +0000 |
commit | 1990d5fb5ca844ef3c09bb0b177f3bc1ced3d924 (patch) | |
tree | 413b147e552443eae7de52faa7c999543babae13 /util.c | |
parent | 9fe38ca2b5dc37b9f47ea3f047a0b079b47c4459 (diff) | |
download | wireshark-1990d5fb5ca844ef3c09bb0b177f3bc1ced3d924.tar.gz wireshark-1990d5fb5ca844ef3c09bb0b177f3bc1ced3d924.tar.bz2 wireshark-1990d5fb5ca844ef3c09bb0b177f3bc1ced3d924.zip |
Some initial changes for win32 support, but not all.
Added lots of #ifdef HAVE_*_H wrappers.
Added some #defines in config.h.win32
Check for more headers in configure.in
Added prototype for inet_aton() in inet_v6defs.h.
Changed "BYTE" token (i.e., #define) in ascend-gramamr.y because it
conflicts with a windows definition. Use HEXBYTE instead.
svn path=/trunk/; revision=1448
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* util.c * Utility routines * - * $Id: util.c,v 1.24 1999/12/09 07:19:05 guy Exp $ + * $Id: util.c,v 1.25 2000/01/10 17:32:53 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -57,6 +57,11 @@ #include "util.h" +#ifdef HAVE_IO_H +#include <io.h> +typedef int mode_t; /* for win32 */ +#endif + static char * setup_tmpdir(char *dir) { |