From 1990d5fb5ca844ef3c09bb0b177f3bc1ced3d924 Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Mon, 10 Jan 2000 17:33:17 +0000 Subject: 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 --- util.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'util.c') diff --git a/util.c b/util.c index 3b52a0490a..18c914ed2d 100644 --- a/util.c +++ b/util.c @@ -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 @@ -57,6 +57,11 @@ #include "util.h" +#ifdef HAVE_IO_H +#include +typedef int mode_t; /* for win32 */ +#endif + static char * setup_tmpdir(char *dir) { -- cgit v1.2.3