summaryrefslogtreecommitdiff
path: root/rawshark.c
diff options
context:
space:
mode:
Diffstat (limited to 'rawshark.c')
-rw-r--r--rawshark.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/rawshark.c b/rawshark.c
index df30037b89..ce0e232339 100644
--- a/rawshark.c
+++ b/rawshark.c
@@ -61,9 +61,7 @@
# include <sys/stat.h>
#endif
-#ifdef HAVE_GETOPT_H
-#include <getopt.h>
-#else
+#ifndef HAVE_GETOPT
#include "wsutil/wsgetopt.h"
#endif