tests: Add $(top_srcdir)/include to AM_CPPFLAGS.
authorVinson Lee <vlee@freedesktop.org>
Wed, 13 Mar 2013 05:32:47 +0000 (22:32 -0700)
committerVinson Lee <vlee@freedesktop.org>
Wed, 13 Mar 2013 06:14:39 +0000 (23:14 -0700)
Fixes this build error with make check.

  CC     collision.o
In file included from ../../../../../src/mesa/main/hash_table.h:34:0,
                 from collision.c:31:
../../../../../src/mesa/main/compiler.h:51:53: fatal error: c99_compat.h: No such file or directory

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
src/mesa/main/tests/hash_table/Makefile.am

index 272c63aa5ed94241bfa9439a0784387f2861d138..f63841d221ea39b021dd0ee434f9920d89d92e33 100644 (file)
@@ -19,6 +19,7 @@
 #  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 AM_CPPFLAGS = \
+       -I$(top_srcdir)/include \
        -I$(top_srcdir)/src/mesa/main \
        $(API_DEFINES) $(DEFINES) $(INCLUDE_DIRS)