--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -80,6 +80,7 @@
 
 test_SOURCES = test.c
 test_LDADD = $(top_builddir)/src/libdvdcss.la
+test_CFLAGS = -I../src
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = ../src/config.h
 CONFIG_CLEAN_FILES =