From b1ff896cb62b504dc5d13a5d160524312ab162a1 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Sun, 2 Sep 2012 15:50:02 +0200 Subject: [PATCH] get rid of HAVE_CONFIG_H directives --- src/clock.h | 4 +--- src/lastfm.h | 4 +--- src/lastfm_service.h | 4 +--- src/lyrics_fetcher.h | 4 +--- src/window.h | 4 +--- 5 files changed, 5 insertions(+), 15 deletions(-) diff --git a/src/clock.h b/src/clock.h index 008689ba..37524e2b 100644 --- a/src/clock.h +++ b/src/clock.h @@ -21,9 +21,7 @@ #ifndef _CLOCK_H #define _CLOCK_H -#ifdef HAVE_CONFIG_H -#include -#endif +#include "config.h" #ifdef ENABLE_CLOCK diff --git a/src/lastfm.h b/src/lastfm.h index 3c5be55b..d2a9f3de 100644 --- a/src/lastfm.h +++ b/src/lastfm.h @@ -21,9 +21,7 @@ #ifndef _H_LASTFM #define _H_LASTFM -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #ifdef HAVE_CURL_CURL_H diff --git a/src/lastfm_service.h b/src/lastfm_service.h index d94520d0..e49c7685 100644 --- a/src/lastfm_service.h +++ b/src/lastfm_service.h @@ -21,9 +21,7 @@ #ifndef _LASTFM_SERVICE_H #define _LASTFM_SERVICE_H -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #ifdef HAVE_CURL_CURL_H diff --git a/src/lyrics_fetcher.h b/src/lyrics_fetcher.h index 65817902..c6b88cc0 100644 --- a/src/lyrics_fetcher.h +++ b/src/lyrics_fetcher.h @@ -21,9 +21,7 @@ #ifndef _LYRICS_FETCHER_H #define _LYRICS_FETCHER_H -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif +#include "config.h" #ifdef HAVE_CURL_CURL_H diff --git a/src/window.h b/src/window.h index e6afd504..c5a23817 100644 --- a/src/window.h +++ b/src/window.h @@ -21,9 +21,7 @@ #ifndef _WINDOW_H #define _WINDOW_H -#ifdef HAVE_CONFIG_H -#include -#endif +#include "config.h" #ifdef USE_PDCURSES # define NCURSES_MOUSE_VERSION 1