aboutsummaryrefslogtreecommitdiffstats
path: root/randpkt.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2002-10-16 14:45:27 +0000
committerGerald Combs <gerald@wireshark.org>2002-10-16 14:45:27 +0000
commite0cf132365b451fb710649e3798232f33609aeef (patch)
treef39ec943801b88ce2ad7b46e485e81d0d588c1fe /randpkt.c
parent103fafbb747da4ac4b85019ba7fe621142b21ee4 (diff)
Add support for building randpkt under Windows.
svn path=/trunk/; revision=6433
Diffstat (limited to 'randpkt.c')
-rw-r--r--randpkt.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/randpkt.c b/randpkt.c
index 9bc769796e..0b83e8c3c4 100644
--- a/randpkt.c
+++ b/randpkt.c
@@ -4,7 +4,7 @@
* Creates random packet traces. Useful for debugging sniffers by testing
* assumptions about the veracity of the data found in the packet.
*
- * $Id: randpkt.c,v 1.16 2002/10/15 02:29:54 gerald Exp $
+ * $Id: randpkt.c,v 1.17 2002/10/16 14:45:27 gerald Exp $
*
* Copyright (C) 1999 by Gilbert Ramirez <gram@alumni.rice.edu>
*
@@ -27,6 +27,10 @@
#include "config.h"
#endif
+#ifdef NEED_GETOPT_H
+#include "getopt.h"
+#endif
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif