diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-07-13 02:53:26 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-07-13 02:53:26 +0000 |
commit | 601c52f0fb7d36599045e90a6baafe918997f644 (patch) | |
tree | 4ddecf128133922607a7f2d194c4d36601690f1e /packet-icmpv6.c | |
parent | 093f28c38214ac4389826e72e18bca01ff08956d (diff) | |
download | wireshark-601c52f0fb7d36599045e90a6baafe918997f644.tar.gz wireshark-601c52f0fb7d36599045e90a6baafe918997f644.tar.bz2 wireshark-601c52f0fb7d36599045e90a6baafe918997f644.zip |
Added support for compiling on win32 with Visual C and 'nmake'. It compiles,
but does not link. Perhaps someone who understands the MS tools can help
out. I made it link a few months ago, but with different version of glib/gtk+.
I can't remember how I made it link.
Most of the compatibility issues were resolved with adding
#ifdef HAVE_UNISTD_H the the source code. Please be sure to add this to all
future code.
svn path=/trunk/; revision=359
Diffstat (limited to 'packet-icmpv6.c')
-rw-r--r-- | packet-icmpv6.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-icmpv6.c b/packet-icmpv6.c index 182522ebf3..bd48810708 100644 --- a/packet-icmpv6.c +++ b/packet-icmpv6.c @@ -1,7 +1,7 @@ /* packet-icmpv6.c * Routines for ICMPv6 packet disassembly * - * $Id: packet-icmpv6.c,v 1.3 1999/07/07 22:51:44 gram Exp $ + * $Id: packet-icmpv6.c,v 1.4 1999/07/13 02:52:51 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -28,7 +28,11 @@ #endif #include <stdio.h> + +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif + #include <stdlib.h> #include <string.h> |