Check for getopt_long(), not getopt().
[metze/wireshark/wip.git] / tfshark.c
index 30c91a4cff9af22ad508a1e3e8fe2b9844bf87bd..6004720cea8cf5a1196a4249ee179757a6a0ccb6 100644 (file)
--- a/tfshark.c
+++ b/tfshark.c
@@ -53,7 +53,7 @@
 #include <zlib.h>      /* to get the libz version number */
 #endif
 
-#ifndef HAVE_GETOPT
+#ifndef HAVE_GETOPT_LONG
 #include "wsutil/wsgetopt.h"
 #endif