From c8f8261d199af4956aeaf387b2fde41baf905f83 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Sun, 18 Jan 2009 00:21:47 +0000 Subject: Remove '#include "config.h"' from all public header files. This requires that many other files include config.h themselves. Also convert to "config.h". --- src/xine-utils/xine_buffer.c | 4 ++++ src/xine-utils/xineutils.h | 4 ---- src/xine-utils/xmllexer.c | 4 ++++ src/xine-utils/xmlparser.c | 4 ++++ 4 files changed, 12 insertions(+), 4 deletions(-) (limited to 'src/xine-utils') diff --git a/src/xine-utils/xine_buffer.c b/src/xine-utils/xine_buffer.c index 097ca0f1f..44d0acbab 100644 --- a/src/xine-utils/xine_buffer.c +++ b/src/xine-utils/xine_buffer.c @@ -47,6 +47,10 @@ * (eg during reallocation). The user must respect that. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h index c37e5468d..581932cee 100644 --- a/src/xine-utils/xineutils.h +++ b/src/xine-utils/xineutils.h @@ -24,10 +24,6 @@ extern "C" { #endif -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include #include #include diff --git a/src/xine-utils/xmllexer.c b/src/xine-utils/xmllexer.c index 7da4cc59b..08c56e88e 100644 --- a/src/xine-utils/xmllexer.c +++ b/src/xine-utils/xmllexer.c @@ -25,6 +25,10 @@ #define LOG */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #ifdef XINE_COMPILE #include "xineutils.h" #else diff --git a/src/xine-utils/xmlparser.c b/src/xine-utils/xmlparser.c index a4917429b..93a707993 100644 --- a/src/xine-utils/xmlparser.c +++ b/src/xine-utils/xmlparser.c @@ -19,6 +19,10 @@ * Floor, Boston, MA 02110, USA */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include -- cgit v1.2.3