diff options
author | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-01-10 17:33:17 +0000 |
---|---|---|
committer | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-01-10 17:33:17 +0000 |
commit | bab4f30a330c6a4641e5bd41eee875d8a7071610 (patch) | |
tree | 413b147e552443eae7de52faa7c999543babae13 /wiretap/ascend.c | |
parent | af488f1db9f2c43ee00cc4bb870d8ff7b68b7ea4 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1448 f5534014-38df-0310-8fa8-9805f1628bb7
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> |