aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-07-13 02:53:26 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-07-13 02:53:26 +0000
commit601c52f0fb7d36599045e90a6baafe918997f644 (patch)
tree4ddecf128133922607a7f2d194c4d36601690f1e /file.h
parent093f28c38214ac4389826e72e18bca01ff08956d (diff)
downloadwireshark-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 'file.h')
-rw-r--r--file.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/file.h b/file.h
index 7424d95a63..290c450a83 100644
--- a/file.h
+++ b/file.h
@@ -1,7 +1,7 @@
/* file.h
* Definitions for file structures and routines
*
- * $Id: file.h,v 1.19 1999/07/09 04:18:35 gram Exp $
+ * $Id: file.h,v 1.20 1999/07/13 02:52:50 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -26,8 +26,13 @@
#ifndef __FILE_H__
#define __FILE_H__
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
+
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#endif
#ifndef __WTAP_H__
#include <wtap.h>