Only include config.h in C files, to avoid multiple inclusion.
authorStig Bjørlykke <stig@bjorlykke.org>
Mon, 28 Sep 2009 17:40:07 +0000 (17:40 -0000)
committerStig Bjørlykke <stig@bjorlykke.org>
Mon, 28 Sep 2009 17:40:07 +0000 (17:40 -0000)
svn path=/trunk/; revision=30180

epan/funnel.c
epan/funnel.h
epan/ptvcursor.h
tap-funnel.c

index ccf406894b431473c61e619cb7c1bf9957d8b002..83a74afee943029138bde121e57f5dcac5541501 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <epan/funnel.h>
 
 typedef struct _funnel_menu_t {
index 7a16dcaa31ee5c3dd2b24822824f4e4a41ef4afc..aa82a3bf35204c2afe2d0a246f61440b4858748e 100644 (file)
 #ifndef _FUNNEL_H
 #define _FUNNEL_H
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
 #include <glib.h>
 #include "../stat_menu.h"
 
index d90d8dd8f90c88358068416251d7537a0f9001b5..961554dc8478c6d1c4ef59b08e73cf83d48a9fcb 100644 (file)
 #ifndef __PTVCURSOR_H__
 #define __PTVCURSOR_H__
 
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
 #include <glib.h>
 #include <epan/packet.h>
 
index c06958b67236f0fecbf082f23ad92517d91f0f70..1353e90469d79203caff4f1802784333df30ae39 100644 (file)
@@ -26,6 +26,9 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
 #include <epan/funnel.h>
 #include <stdio.h>