summaryrefslogtreecommitdiff
path: root/captype.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-07-03 02:53:13 -0700
committerGuy Harris <guy@alum.mit.edu>2014-07-03 09:53:38 +0000
commit470994d90260f4a6ee191031344e1f98314995e9 (patch)
treeca68e5c5044c2363dead598f9bfdda2667931994 /captype.c
parent1a165b9be8a122ee1d5c0a60ca441d2c9198b3fd (diff)
downloadwireshark-470994d90260f4a6ee191031344e1f98314995e9.tar.gz
Needs wsutil/wsgetopt.h if the platform doesn't have getopt_long().
This includes Windows (which doesn't even have getopt()). Change-Id: I01a3a9a00014176875ddad6760c387bf7aa9de84 Reviewed-on: https://code.wireshark.org/review/2804 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'captype.c')
-rw-r--r--captype.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/captype.c b/captype.c
index 708038fdb7..f00c824b06 100644
--- a/captype.c
+++ b/captype.c
@@ -71,6 +71,10 @@
#include <wsutil/unicode-utils.h>
#endif /* _WIN32 */
+#ifndef HAVE_GETOPT
+#include "wsutil/wsgetopt.h"
+#endif
+
#include "version_info.h"
static void