aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/make-taps.pl
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-04-21 13:13:39 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-04-21 13:13:39 +0000
commit43851d797dab492414fc9cf09910d61e29465522 (patch)
treee7c0422047db96e07048a1d949a2b91bdd12f6b0 /epan/wslua/make-taps.pl
parent09dc5526dcdcea138d1f2b1a2dd51d45f527885d (diff)
Include config.h only from .c files.
This avoids a warning building epan.c which includes both config.h and wslua.h (duplicate defines from config.h) svn path=/trunk/; revision=36751
Diffstat (limited to 'epan/wslua/make-taps.pl')
-rwxr-xr-xepan/wslua/make-taps.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/wslua/make-taps.pl b/epan/wslua/make-taps.pl
index d1a2e43314..c916d86cd6 100755
--- a/epan/wslua/make-taps.pl
+++ b/epan/wslua/make-taps.pl
@@ -155,6 +155,10 @@ print CFILE <<"HEADER";
/* This file is autogenerated from ./taps by ./make-taps.pl */
/* DO NOT EDIT! */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wslua.h"
HEADER