summaryrefslogtreecommitdiff
path: root/extcap.h
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-03-18 17:31:09 +0000
committerJoão Valverde <j@v6e.pt>2016-03-21 17:10:21 +0000
commit52dd4fb6330a10ed37b8e221c502b5a98de4f581 (patch)
tree9d3ea5b26003115f61ac5af0d9dd7997cbe7cfb2 /extcap.h
parent69d348c12a2d86e5fa75189cd2dd5f4f3784dcfc (diff)
downloadwireshark-52dd4fb6330a10ed37b8e221c502b5a98de4f581.tar.gz
Fix building without extcap enabled
Using cmake -DENABLE_EXTCAP=no or ./configure --without-extcap. Some documentation fixes too. Change-Id: Iebf9c843d67e10a32de1a62904de8f88b872ec99 Reviewed-on: https://code.wireshark.org/review/14522 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'extcap.h')
-rw-r--r--extcap.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/extcap.h b/extcap.h
index 9701ae52e3..509e007a5e 100644
--- a/extcap.h
+++ b/extcap.h
@@ -35,8 +35,6 @@
#include <ui/capture_ui_utils.h>
-#ifdef HAVE_EXTCAP
-
/* As boolean flags will be allowed any form of yes, true or any number != 0 (or starting with 0)
* The regex will be matched case-insensitive, so only the lower-case is defined here. */
#define EXTCAP_BOOLEAN_REGEX "^.*([yt1-9])"
@@ -110,8 +108,6 @@ extcap_cleanup(capture_options * capture_opts _U_);
#endif
-#endif
-
/*
* Editor modelines - http://www.wireshark.org/tools/modelines.html
*