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-rsvp.h | |
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-rsvp.h')
-rw-r--r-- | packet-rsvp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-rsvp.h b/packet-rsvp.h index 36088c8d30..413f8d9939 100644 --- a/packet-rsvp.h +++ b/packet-rsvp.h @@ -4,7 +4,7 @@ * * (C) Ashok Narayanan <ashokn@cisco.com> * - * $Id: packet-rsvp.h,v 1.1 1999/06/11 16:44:51 gram Exp $ + * $Id: packet-rsvp.h,v 1.2 1999/07/13 02:52:55 gram Exp $ * * For license details, see the COPYING file with this distribution * @@ -195,7 +195,7 @@ typedef struct { unsigned short length; unsigned char class; unsigned char type; - unsigned char data[0]; + unsigned char *data; } rsvp_object; /* @@ -209,7 +209,7 @@ typedef struct { unsigned char sending_ttl; /* ttl of message */ unsigned char reserved_byte; /* reserved */ unsigned short rsvp_length; /* length of RSVP data */ - rsvp_object rsvp_first_object[0]; + rsvp_object *rsvp_first_object; } rsvp_header; /* @@ -299,7 +299,7 @@ typedef struct { */ typedef struct { rsvp_object base; - unsigned long source[0]; + unsigned long *source; } rsvp_scope; /* |