This avoids a warning building epan.c which includes both config.h and wslua.h
(duplicate defines from config.h)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36751
f5534014-38df-0310-8fa8-
9805f1628bb7
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wslua.h"
#include <epan/dissectors/packet-frame.h>
#include <epan/nstime.h>
print H "extern void wslua_register_functions(lua_State* L);\n";
print H "\n\n";
+print C "#ifdef HAVE_CONFIG_H\n";
+print C '#include "config.h"' . "\n";
+print C "#endif\n\n";
print C '#include "wslua.h"' . "\n\n";
print C "void wslua_register_classes(lua_State* L) { \n";
/* 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
#ifndef _PACKET_LUA_H
#define _PACKET_LUA_H
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#include <glib.h>
#include <errno.h>
#include <string.h>
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* WSLUA_MODULE Dumper Saving capture files */
#include "wslua.h"
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* WSLUA_MODULE Field Obtaining dissection data */
#include "wslua.h"
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wslua.h"
/* WSLUA_MODULE Gui GUI support */
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* WSLUA_MODULE Listener Post-dissection packet analysis */
#include "wslua.h"
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* WSLUA_MODULE Pinfo Obtaining packet information */
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* WSLUA_MODULE Proto Functions for writing dissectors */
#include "wslua.h"
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* WSLUA_MODULE Tree Adding information to the dissection tree */
#include "wslua.h"
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* WSLUA_MODULE Tvb Functions for handling packet data */
#include "wslua.h"
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* WSLUA_MODULE Utility Utility Functions */
#include "wslua.h"