Code

configure.ac: disable -Wdeclaration-after-statement
[ncmpc.git] / Makefile.am
index 29b7df4bf2faf2643a17740e69244f6a9e9d335e..8daa81459ccdec3556f9626427909297089e9c86 100644 (file)
@@ -167,7 +167,7 @@ check_PROGRAMS = \
        test/run_hscroll
 
 test_run_hscroll_SOURCES = test/run_hscroll.c src/hscroll.c src/charset.c
-test_run_hscroll_CPPFLAGS = -Isrc $(AM_CPPFLAGS)
+test_run_hscroll_CPPFLAGS = -I$(srcdir)/src $(AM_CPPFLAGS)
 test_run_hscroll_LDFLAGS = $(GLIB_LIBS)
 
 #