From 516909545b05c13b74079c8ca6905041ebae6ae3 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Tue, 2 Feb 2010 21:00:47 +0100 Subject: [PATCH] Include config.h in all C files --- src/conffile.c | 2 +- src/daap_query.c | 4 ++++ src/dmap_helpers.c | 4 ++++ src/filescanner_ffmpeg.c | 2 +- src/filescanner_itunes.c | 4 ++++ src/logger.c | 4 ++++ src/mdns_avahi.c | 4 ++++ src/rsp_query.c | 4 ++++ src/scan-flac.c | 2 +- src/scan-mpc.c | 2 +- src/scan-wma.c | 2 +- 11 files changed, 29 insertions(+), 5 deletions(-) diff --git a/src/conffile.c b/src/conffile.c index 16dfa84a..d4052164 100644 --- a/src/conffile.c +++ b/src/conffile.c @@ -17,7 +17,7 @@ */ #ifdef HAVE_CONFIG_H -# include "config.h" +# include #endif #include diff --git a/src/daap_query.c b/src/daap_query.c index 56f99738..b4223030 100644 --- a/src/daap_query.c +++ b/src/daap_query.c @@ -16,6 +16,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/src/dmap_helpers.c b/src/dmap_helpers.c index eaa2bd30..54ea0905 100644 --- a/src/dmap_helpers.c +++ b/src/dmap_helpers.c @@ -16,6 +16,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include diff --git a/src/filescanner_ffmpeg.c b/src/filescanner_ffmpeg.c index 1a1fc5c7..7667d3bd 100644 --- a/src/filescanner_ffmpeg.c +++ b/src/filescanner_ffmpeg.c @@ -17,7 +17,7 @@ */ #ifdef HAVE_CONFIG_H -# include "config.h" +# include #endif #include diff --git a/src/filescanner_itunes.c b/src/filescanner_itunes.c index a16b8ab4..adde4011 100644 --- a/src/filescanner_itunes.c +++ b/src/filescanner_itunes.c @@ -16,6 +16,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/src/logger.c b/src/logger.c index 07efbba7..48af46d0 100644 --- a/src/logger.c +++ b/src/logger.c @@ -16,6 +16,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/src/mdns_avahi.c b/src/mdns_avahi.c index b6ebde87..2d3f22bf 100644 --- a/src/mdns_avahi.c +++ b/src/mdns_avahi.c @@ -21,6 +21,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/src/rsp_query.c b/src/rsp_query.c index 01986ccd..a5b4a590 100644 --- a/src/rsp_query.c +++ b/src/rsp_query.c @@ -16,6 +16,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include diff --git a/src/scan-flac.c b/src/scan-flac.c index 049a7f21..7a5986bb 100644 --- a/src/scan-flac.c +++ b/src/scan-flac.c @@ -19,7 +19,7 @@ */ #ifdef HAVE_CONFIG_H -# include "config.h" +# include #endif #include diff --git a/src/scan-mpc.c b/src/scan-mpc.c index 7f4792ec..d48d4eab 100644 --- a/src/scan-mpc.c +++ b/src/scan-mpc.c @@ -19,7 +19,7 @@ */ #ifdef HAVE_CONFIG_H -# include "config.h" +# include #endif #ifdef HAVE_STDINT_H diff --git a/src/scan-wma.c b/src/scan-wma.c index da6646ef..273e039d 100644 --- a/src/scan-wma.c +++ b/src/scan-wma.c @@ -19,7 +19,7 @@ */ #ifdef HAVE_CONFIG_H -# include "config.h" +# include #endif #include