diff --git a/libdrm/intel/Makefile.am b/libdrm/intel/Makefile.am
index 111204b..31a8512 100644
--- a/libdrm/intel/Makefile.am
+++ b/libdrm/intel/Makefile.am
@@ -24,6 +24,7 @@
 
 AM_CFLAGS = \
 	$(WARN_CFLAGS) \
+	-I$(top_srcdir)/libdrm \
 	-I$(top_srcdir)/shared-core
 
 noinst_LTLIBRARIES = libdrm_intel.la
