aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/text2pcap.c b/text2pcap.c
index daf1dacece..c2d5f7f532 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -125,9 +125,7 @@
#include <errno.h>
#include <assert.h>
-#ifdef HAVE_GETOPT_H
-#include <getopt.h>
-#else
+#ifndef HAVE_GETOPT
#include "wsutil/wsgetopt.h"
#endif