1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 23:00:41 +00:00

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
This commit is contained in:
diego 2007-03-20 01:20:57 +00:00
parent d2e96bddda
commit bfa034ce2d
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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