summaryrefslogtreecommitdiff
path: root/epan/dfilter
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-11-07 15:12:18 -0800
committerGuy Harris <guy@alum.mit.edu>2015-11-07 23:12:50 +0000
commit8e689a9d4ac7504217001359ad030a2d57295930 (patch)
tree0cc0d4c4bd27c140d88c77d1108645ad25284fc6 /epan/dfilter
parente9ad65adbba9678dbd430dced415132596387347 (diff)
downloadwireshark-8e689a9d4ac7504217001359ad030a2d57295930.tar.gz
Remove some unnecessary includes.
Either remove them completely, or put them inside an #ifdef. Change-Id: Iceff4909e250c17812f38d94e067f7c37ab72e1b Reviewed-on: https://code.wireshark.org/review/11630 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dfilter')
-rw-r--r--epan/dfilter/dfilter-macro.c3
-rw-r--r--epan/dfilter/dfvm.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/epan/dfilter/dfilter-macro.c b/epan/dfilter/dfilter-macro.c
index cd33b50a7e..6ea88191e3 100644
--- a/epan/dfilter/dfilter-macro.c
+++ b/epan/dfilter/dfilter-macro.c
@@ -22,8 +22,9 @@
#include "config.h"
+#ifdef DUMP_DFILTER_MACRO
#include <stdio.h>
-#include <errno.h>
+#endif
#include <string.h>
#include "dfilter-int.h"
diff --git a/epan/dfilter/dfvm.h b/epan/dfilter/dfvm.h
index 5b008081b0..c9ee83f851 100644
--- a/epan/dfilter/dfvm.h
+++ b/epan/dfilter/dfvm.h
@@ -21,7 +21,6 @@
#ifndef DFVM_H
#define DFVM_H
-#include <stdio.h>
#include <epan/proto.h>
#include "dfilter-int.h"
#include "syntax-tree.h"