diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-08-02 07:07:35 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-08-02 07:07:35 +0000 |
commit | d01744397910ec664363725c0e8e7af9746a1682 (patch) | |
tree | 37f66dd5f434aee250b2d9aa7f56977d67d4d898 /tshark.c | |
parent | 99050171cb6071ffd704c90975f0d3abc062ed8b (diff) | |
download | wireshark-d01744397910ec664363725c0e8e7af9746a1682.tar.gz wireshark-d01744397910ec664363725c0e8e7af9746a1682.tar.bz2 wireshark-d01744397910ec664363725c0e8e7af9746a1682.zip |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |