From: Sebastian Harl Date: Sun, 27 Dec 2009 19:02:34 +0000 (+0100) Subject: include "config.h" in all files using HAVE_* defines X-Git-Tag: release-0.16.1~8 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cee4056a33d5534db277b6eec422630c82c8853d;p=ncmpc.git include "config.h" in all files using HAVE_* defines --- diff --git a/src/hscroll.h b/src/hscroll.h index b3047b5..6d32b84 100644 --- a/src/hscroll.h +++ b/src/hscroll.h @@ -20,6 +20,8 @@ #ifndef HSCROLL_H #define HSCROLL_H +#include "config.h" + #include #ifdef HAVE_NCURSESW_NCURSES_H diff --git a/src/resolver.c b/src/resolver.c index f6f1c89..6898bed 100644 --- a/src/resolver.c +++ b/src/resolver.c @@ -30,6 +30,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "config.h" #include "resolver.h" #include diff --git a/src/screen_browser.c b/src/screen_browser.c index b11c48d..6bc2242 100644 --- a/src/screen_browser.c +++ b/src/screen_browser.c @@ -17,6 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "config.h" #include "screen_browser.h" #include "screen_file.h" #include "screen_song.h" diff --git a/src/screen_interface.h b/src/screen_interface.h index ca8b783..7a8fdc6 100644 --- a/src/screen_interface.h +++ b/src/screen_interface.h @@ -20,6 +20,7 @@ #ifndef NCMPC_SCREEN_INTERFACE_H #define NCMPC_SCREEN_INTERFACE_H +#include "config.h" #include "command.h" #include diff --git a/src/song_paint.h b/src/song_paint.h index 9136fba..86cdfd9 100644 --- a/src/song_paint.h +++ b/src/song_paint.h @@ -20,6 +20,8 @@ #ifndef NCMPC_SONG_PAINT_H #define NCMPC_SONG_PAINT_H +#include "config.h" + #include #ifdef HAVE_NCURSESW_NCURSES_H diff --git a/src/window.h b/src/window.h index e2edeb2..e66c808 100644 --- a/src/window.h +++ b/src/window.h @@ -20,6 +20,8 @@ #ifndef NCMPC_WINDOW_H #define NCMPC_WINDOW_H +#include "config.h" + #ifdef HAVE_NCURSESW_NCURSES_H #include #else