aboutsummaryrefslogtreecommitdiffstats
path: root/tools/make-dissector-reg.py
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2012-09-19 01:37:13 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2012-09-19 01:37:13 +0000
commit22b7086fb91f059b1c6637cc881ac93fa10fff51 (patch)
tree49317a46814db07e2b1760eb5a1eea603572337f /tools/make-dissector-reg.py
parent4a57360291672342936cc66da056b63aa04b2cc5 (diff)
We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
svn path=/trunk/; revision=44997
Diffstat (limited to 'tools/make-dissector-reg.py')
-rwxr-xr-xtools/make-dissector-reg.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/make-dissector-reg.py b/tools/make-dissector-reg.py
index 01baa0d22b..531a63ddbe 100755
--- a/tools/make-dissector-reg.py
+++ b/tools/make-dissector-reg.py
@@ -184,9 +184,7 @@ reg_code.write(preamble)
# Make the routine to register all protocols
if registertype == "plugin" or registertype == "plugin_wtap":
reg_code.write("""
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include "config.h"
#include <gmodule.h>