Code

include "config.h" in all files using HAVE_* defines
authorSebastian Harl <sh@tokkee.org>
Sun, 27 Dec 2009 19:02:34 +0000 (20:02 +0100)
committerSebastian Harl <sh@tokkee.org>
Sun, 27 Dec 2009 19:02:34 +0000 (20:02 +0100)
src/hscroll.h
src/resolver.c
src/screen_browser.c
src/screen_interface.h
src/song_paint.h
src/window.h

index b3047b5c4d5d39bdc39c6462b4024b2bbb7ce53d..6d32b84b0b14aa16516628b9e1c7b664456a2fdb 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef HSCROLL_H
 #define HSCROLL_H
 
+#include "config.h"
+
 #include <glib.h>
 
 #ifdef HAVE_NCURSESW_NCURSES_H
index f6f1c8984836e108658ae4a31f29558887129bb3..6898bedda9f96f2989e2d9fac9db724b48be6954 100644 (file)
@@ -30,6 +30,7 @@
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
+#include "config.h"
 #include "resolver.h"
 
 #include <netdb.h>
index b11c48da91b590a4fbb408b576173666991f8d1f..6bc224210ea783110bc16cb8ee62abad02ac9828 100644 (file)
@@ -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"
index ca8b783e85b0965d1d1e7f29be170b9dc0151cad..7a8fdc604cf0a0439ff3debce15fbadd463320b6 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef NCMPC_SCREEN_INTERFACE_H
 #define NCMPC_SCREEN_INTERFACE_H
 
+#include "config.h"
 #include "command.h"
 
 #include <stdbool.h>
index 9136fba89c875a884aa8786dac9f475cde326f16..86cdfd9780842c5a33a12ce331ff4563bec24478 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef NCMPC_SONG_PAINT_H
 #define NCMPC_SONG_PAINT_H
 
+#include "config.h"
+
 #include <stdbool.h>
 
 #ifdef HAVE_NCURSESW_NCURSES_H
index e2edeb2f1432132996f0e10f10d498766c450ded..e66c808890abea7c102fb28c6f619796620ec720 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef NCMPC_WINDOW_H
 #define NCMPC_WINDOW_H
 
+#include "config.h"
+
 #ifdef HAVE_NCURSESW_NCURSES_H
 #include <ncursesw/ncurses.h>
 #else