Added /opt/vc/include/interface/vmcs_host/linux to rpi_cflags to fix building on...
authorNedim Lisica <nedim.lisica@gmail.com>
Sun, 9 Dec 2012 17:18:10 +0000 (18:18 +0100)
committerNedim Lisica <nedim.lisica@gmail.com>
Sun, 9 Dec 2012 17:18:10 +0000 (18:18 +0100)
configure.ac

index b1796775b2f7a4b83c46793a2a9fa9b1b7ea9959..3b61291c422468c85b0a2238b4396024c414d8c1 100644 (file)
@@ -68,7 +68,7 @@ AC_ARG_ENABLE([rpi],
 AC_ARG_WITH([rpi-include-path],
   [AS_HELP_STRING([--with-rpi-include-path],
     [location of the Raspberry Pi headers (location of /opt/vc/include, default is auto)])],
-  [RPI_CFLAGS="-I$withval -I$withval/interface/vcos/pthreads"])
+  [RPI_CFLAGS="-I$withval -I$withval/interface/vcos/pthreads -I$withval/interface/vmcs_host/linux"])
 
 ## Optional path to libbcm_host.so
 AC_ARG_WITH([rpi-lib-path],