summaryrefslogtreecommitdiff
path: root/capture_opts.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-11-04 01:12:53 -0800
committerGuy Harris <guy@alum.mit.edu>2015-11-04 09:13:32 +0000
commit6704c8a5e960bfe70d8bc81d2cbb4d70ea145eb2 (patch)
treea3d523c71dfa039b1c1fa6e1bd73b76d9ef9db36 /capture_opts.c
parentff9f9fc43162f3271e8335aae9b03175a0f2e7ee (diff)
downloadwireshark-6704c8a5e960bfe70d8bc81d2cbb4d70ea145eb2.tar.gz
Don't include stuff from libwireshark.
Dumpcap captures packets, and supports the usual capture options, so it needs this, but it does *not* link with libwireshark (deliberately, so that the libwireshark code isn't linked into a program that might run with special privileges), so we must not depend on anything in libwireshark. Change-Id: Id975fd6a83a4b2a493c67493e41e69b784a050aa Reviewed-on: https://code.wireshark.org/review/11546 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'capture_opts.c')
-rw-r--r--capture_opts.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/capture_opts.c b/capture_opts.c
index 5d82ad5c78..4332ce234a 100644
--- a/capture_opts.c
+++ b/capture_opts.c
@@ -37,9 +37,6 @@
#include <glib.h>
-#include <epan/packet.h>
-#include <epan/prefs.h>
-
#include "capture_opts.h"
#include "ringbuffer.h"