diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-04-21 13:13:39 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-04-21 13:13:39 +0000 |
commit | 43851d797dab492414fc9cf09910d61e29465522 (patch) | |
tree | e7c0422047db96e07048a1d949a2b91bdd12f6b0 /epan/wslua/make-taps.pl | |
parent | 09dc5526dcdcea138d1f2b1a2dd51d45f527885d (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-x | epan/wslua/make-taps.pl | 4 |
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 |