diff options
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -55,8 +55,10 @@ #include "strerror.h" #endif -#ifdef NEED_GETOPT_H -#include "getopt.h" +#ifdef HAVE_GETOPT_H +#include <getopt.h> +#else +#include "wsgetopt.h" #endif #include <glib.h> @@ -733,7 +735,6 @@ main(int argc, char *argv[]) { char *init_progfile_dir_error; int opt; - extern char *optarg; gboolean arg_error = FALSE; #ifdef _WIN32 |