Fix build on Win32.

svn path=/trunk/; revision=2411
This commit is contained in:
Gilbert Ramirez 2000-09-11 20:05:13 +00:00
parent 6ddd66e6cf
commit a85cf466ce
3 changed files with 13 additions and 3 deletions

View File

@ -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"
/*

View File

@ -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,

View File

@ -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"