Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5608 :
[metze/wireshark/wip.git] / tshark.c
index 473a6898ec890f43f272873fcf2f93298fd97096..af1b2560266e2f5d2455920b3bde07365ae1a329 100644 (file)
--- a/tshark.c
+++ b/tshark.c
@@ -51,9 +51,7 @@
 # include <sys/stat.h>
 #endif
 
-#ifdef HAVE_GETOPT_H
-#include <getopt.h>
-#else
+#ifndef HAVE_GETOPT
 #include "wsutil/wsgetopt.h"
 #endif