From: Jörg Mayer Date: Thu, 2 Feb 2012 11:54:33 +0000 (-0000) Subject: Include config.h in preparation of moving the definition X-Git-Url: http://git.samba.org/?p=metze%2Fwireshark%2Fwip.git;a=commitdiff_plain;h=2d7a4646e22b534803fa7ca1480912e68cd97ba3 Include config.h in preparation of moving the definition of _U_ from the compiler command line into config.h svn path=/trunk/; revision=40806 --- diff --git a/capture_stop_conditions.c b/capture_stop_conditions.c index 09ac5b7d4a..d23f78ced1 100644 --- a/capture_stop_conditions.c +++ b/capture_stop_conditions.c @@ -22,6 +22,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include diff --git a/conditions.c b/conditions.c index f064587fea..882f9b4d7a 100644 --- a/conditions.c +++ b/conditions.c @@ -22,6 +22,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include diff --git a/epan/asm_utils.c b/epan/asm_utils.c index a76029ae21..33adb6fe58 100644 --- a/epan/asm_utils.c +++ b/epan/asm_utils.c @@ -22,6 +22,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include @@ -35,7 +39,7 @@ wrs_strcmp(gconstpointer a, gconstpointer b) return strcmp((const char*)a, (const char*)b); } -gint +gint wrs_strcmp_with_data(gconstpointer a, gconstpointer b, gpointer user_data _U_) { return strcmp((const char*)a, (const char*)b); @@ -47,7 +51,7 @@ wrs_str_equal(gconstpointer a, gconstpointer b) return !strcmp((const char*)a, (const char*)b); } -guchar +guchar wrs_check_charset(const guchar table[256], const char *str) { const char *p = str; diff --git a/epan/dfilter/drange.c b/epan/dfilter/drange.c index 218b8f3c01..800386680f 100644 --- a/epan/dfilter/drange.c +++ b/epan/dfilter/drange.c @@ -23,6 +23,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include "drange.h" /* drange_node constructor */ diff --git a/epan/dtd_grammar.lemon b/epan/dtd_grammar.lemon index 024dedc4e0..2ae997d10a 100644 --- a/epan/dtd_grammar.lemon +++ b/epan/dtd_grammar.lemon @@ -27,6 +27,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include diff --git a/epan/dtd_preparse.l b/epan/dtd_preparse.l index 7e951b0f6b..2857296e6f 100644 --- a/epan/dtd_preparse.l +++ b/epan/dtd_preparse.l @@ -54,6 +54,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include diff --git a/tools/lemon/lemon.c b/tools/lemon/lemon.c index 0968212cde..606eadc148 100644 --- a/tools/lemon/lemon.c +++ b/tools/lemon/lemon.c @@ -28,6 +28,10 @@ ** Updated to sqlite lemon version 1.59 ** $Id$ */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include