aboutsummaryrefslogtreecommitdiffstats
path: root/follow.c
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-07-13 02:53:26 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>1999-07-13 02:53:26 +0000
commit5ac565b736a239c22d34ffb75b39a98a60e31c09 (patch)
tree4ddecf128133922607a7f2d194c4d36601690f1e /follow.c
parentd26a8c8fd438ea5d6be78eb1779876ea507429f6 (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@359 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'follow.c')
-rw-r--r--follow.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/follow.c b/follow.c
index cce5ffafca..ba64ab6dd5 100644
--- a/follow.c
+++ b/follow.c
@@ -1,6 +1,6 @@
/* follow.c
*
- * $Id: follow.c,v 1.10 1999/07/07 22:51:39 gram Exp $
+ * $Id: follow.c,v 1.11 1999/07/13 02:52:51 gram Exp $
*
* Copyright 1998 Mike Hall <mlh@io.com>
*
@@ -33,7 +33,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>