From bfa034ce2dae3198237ecb479aa06a65cae8499e Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 20 Mar 2007 01:20:57 +0000 Subject: [PATCH] Add explicit SDL include path. This should allow compilation even when MPlayer was configured without SDL support. Change the Makefile accordingly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22759 b3059339-0415-0410-9bf9-f77b7e298cf2 --- TOOLS/Makefile | 2 +- TOOLS/bmovl-test.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TOOLS/Makefile b/TOOLS/Makefile index 631bec9943..6a8b084503 100644 --- a/TOOLS/Makefile +++ b/TOOLS/Makefile @@ -46,7 +46,7 @@ fastmemcpybench: fastmemcpybench.c $(CC) $(CFLAGS) -g $< -o fastmem2-sse$(EXESUF) ../libvo/aclib.o -DNAME=\"mga-sse\" -DHAVE_MGA -DHAVE_MMX -DHAVE_SSE -DHAVE_MMX2 bmovl-test$(EXESUF): bmovl-test.c - $(CC) -O3 -I/usr/include/SDL -lSDL_image -o $@ $< + $(CC) -O3 $(EXTRA_INC) -o $@ $< -lSDL_image gltest: gltest.c ../osdep/timer-lx.o $(CC) -O4 -g -o $@ $^ -lglut diff --git a/TOOLS/bmovl-test.c b/TOOLS/bmovl-test.c index 5c81561fb9..5e0572281a 100644 --- a/TOOLS/bmovl-test.c +++ b/TOOLS/bmovl-test.c @@ -4,8 +4,8 @@ #include #include #include -#include -#include +#include +#include #define DEBUG 0