diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-07-03 02:53:13 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-07-03 09:53:38 +0000 |
commit | 470994d90260f4a6ee191031344e1f98314995e9 (patch) | |
tree | ca68e5c5044c2363dead598f9bfdda2667931994 /captype.c | |
parent | 1a165b9be8a122ee1d5c0a60ca441d2c9198b3fd (diff) |
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |