aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-08-02 07:07:35 +0000
committerGuy Harris <guy@alum.mit.edu>2013-08-02 07:07:35 +0000
commitd01744397910ec664363725c0e8e7af9746a1682 (patch)
tree37f66dd5f434aee250b2d9aa7f56977d67d4d898 /tshark.c
parent99050171cb6071ffd704c90975f0d3abc062ed8b (diff)
Now that we're using getopt_long(), and have some options available only
as long options, and thus identified with numbers rather than option letters as the return value of getopt_long(), we now have to include capture_opts.h even if we're *not* building with libpcap, to provide #defines for those numbers. svn path=/trunk/; revision=51115
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index 59fa5fa78b..ea5e72cb8c 100644
--- a/tshark.c
+++ b/tshark.c
@@ -87,6 +87,8 @@
#include <epan/timestamp.h>
#include <epan/ex-opt.h>
+#include "capture_opts.h"
+
#ifdef HAVE_LIBPCAP
#include "capture_ui_utils.h"
#include "capture_ifinfo.h"
@@ -95,7 +97,6 @@
#include "capture-wpcap.h"
#include <wsutil/unicode-utils.h>
#endif /* _WIN32 */
-#include "capture_opts.h"
#include "capture_session.h"
#include "capture_sync.h"
#include "capture_opts.h"