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 /wiretap/ascend.c | |
parent | 9fe38ca2b5dc37b9f47ea3f047a0b079b47c4459 (diff) |
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 'wiretap/ascend.c')
-rw-r--r-- | wiretap/ascend.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wiretap/ascend.c b/wiretap/ascend.c index a5d735ce05..4d90b1b734 100644 --- a/wiretap/ascend.c +++ b/wiretap/ascend.c @@ -1,6 +1,6 @@ /* ascend.c * - * $Id: ascend.c,v 1.9 1999/10/28 01:42:43 gerald Exp $ + * $Id: ascend.c,v 1.10 2000/01/10 17:33:16 gram Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu> @@ -30,7 +30,11 @@ #include "file.h" #include <sys/stat.h> + +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif + #include <ctype.h> #include <string.h> |