aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-20 01:20:57 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-20 01:20:57 +0000
commitbfa034ce2dae3198237ecb479aa06a65cae8499e (patch)
treeec5edcc261cc66b32e3c0e0eea0d0e297f33c23a
parentd2e96bddda3a8035f792ff961c6b357d6b9d9226 (diff)
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
-rw-r--r--TOOLS/Makefile2
-rw-r--r--TOOLS/bmovl-test.c4
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 <fcntl.h>
#include <string.h>
#include <stdlib.h>
-#include <SDL.h>
-#include <SDL_image.h>
+#include <SDL/SDL.h>
+#include <SDL/SDL_image.h>
#define DEBUG 0