--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -3,4 +3,5 @@
 
 test_SOURCES = test.c
 test_LDADD = $(top_builddir)/src/libdvdcss.la
+test_CFLAGS = -I../src