diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-09-11 20:05:13 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-09-11 20:05:13 +0000 |
commit | a85cf466cef9af9d9d03d27ca31c3851b0960fa3 (patch) | |
tree | bffddccfa469e9813eeb6f9a086ab9134c84e75f | |
parent | 6ddd66e6cfe67c081d6db81a18939d6d192c75dd (diff) | |
download | wireshark-a85cf466cef9af9d9d03d27ca31c3851b0960fa3.tar.gz wireshark-a85cf466cef9af9d9d03d27ca31c3851b0960fa3.tar.bz2 wireshark-a85cf466cef9af9d9d03d27ca31c3851b0960fa3.zip |
Fix build on Win32.
svn path=/trunk/; revision=2411
-rw-r--r-- | strutil.c | 3 | ||||
-rw-r--r-- | strutil.h | 7 | ||||
-rw-r--r-- | tvbuff.c | 6 |
3 files changed, 13 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* strutil.c * String utility routines * - * $Id: strutil.c,v 1.1 2000/09/11 16:16:13 gram Exp $ + * $Id: strutil.c,v 1.2 2000/09/11 20:05:13 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -31,6 +31,7 @@ #include <string.h> #include <ctype.h> #include <glib.h> +#include "strutil.h" /* @@ -1,7 +1,7 @@ /* util.h * Utility definitions * - * $Id: strutil.h,v 1.1 2000/09/11 16:16:13 gram Exp $ + * $Id: strutil.h,v 1.2 2000/09/11 20:05:13 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -26,6 +26,11 @@ #ifndef __STRUTIL_H__ #define __STRUTIL_H__ +/* ... thus, config.h needs to be #included */ +#ifdef HAVE_WINSOCK_H +# include <winsock.h> /* for u_char */ +#endif + const u_char *find_line_end(const u_char *data, const u_char *dataend, const u_char **eol); int get_token_len(const u_char *linep, const u_char *lineend, @@ -9,7 +9,7 @@ * the data of a backing tvbuff, or can be a composite of * other tvbuffs. * - * $Id: tvbuff.c,v 1.14 2000/09/11 16:16:13 gram Exp $ + * $Id: tvbuff.c,v 1.15 2000/09/11 20:05:13 gram Exp $ * * Copyright (c) 2000 by Gilbert Ramirez <gram@xiexie.org> * @@ -33,6 +33,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include <string.h> #include "pint.h" |