diff options
author | Gerald Combs <gerald@wireshark.org> | 2002-10-16 14:45:27 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2002-10-16 14:45:27 +0000 |
commit | e0cf132365b451fb710649e3798232f33609aeef (patch) | |
tree | f39ec943801b88ce2ad7b46e485e81d0d588c1fe /randpkt.c | |
parent | 103fafbb747da4ac4b85019ba7fe621142b21ee4 (diff) |
Add support for building randpkt under Windows.
svn path=/trunk/; revision=6433
Diffstat (limited to 'randpkt.c')
-rw-r--r-- | randpkt.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |