Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5608 :
[metze/wireshark/wip.git] / text2pcap.c
index daf1dacece82c6683efeb3a3240d7cc464cc20c1..c2d5f7f532c34715bd1236eeee7085b2c8ef9bf7 100644 (file)
 #include <errno.h>
 #include <assert.h>
 
-#ifdef HAVE_GETOPT_H
-#include <getopt.h>
-#else
+#ifndef HAVE_GETOPT
 #include "wsutil/wsgetopt.h"
 #endif