diff --git a/contrib/sdk/sources/SDL-1.2.2_newlib/src/SYSCALL/src/Makefile b/contrib/sdk/sources/SDL-1.2.2_newlib/src/SYSCALL/src/Makefile index 522aa0a6d6..6e68ef6272 100755 --- a/contrib/sdk/sources/SDL-1.2.2_newlib/src/SYSCALL/src/Makefile +++ b/contrib/sdk/sources/SDL-1.2.2_newlib/src/SYSCALL/src/Makefile @@ -7,12 +7,12 @@ CFLAGS = -c -fno-ident -O2 -fomit-frame-pointer -fno-ident -U__WIN32__ -U_Win32 INCLUDES = -I ../include -I $(SDK_DIR)/sources/newlib/libc/include -FITZ_SRC := $(notdir $(wildcard *.c)) -OBJECTS = $(patsubst %.c, %.o, $(FITZ_SRC)) +SYSCALL_SRC := $(notdir $(wildcard *.c)) +OBJECTS = $(patsubst %.c, %.o, $(SYSCALL_SRC)) -default: $(patsubst %.c,%.o,$(FITZ_SRC)) +default: $(patsubst %.c,%.o,$(SYSCALL_SRC)) -%.o : %.c Makefile $(FITZ_SRC) +%.o : %.c Makefile $(SYSCALL_SRC) $(CC) $(CFLAGS) $(INCLUDES) -o $@ $< clean: diff --git a/contrib/sdk/sources/SDL-1.2.2_newlib/src/thread/SDL_systhread_c.h b/contrib/sdk/sources/SDL-1.2.2_newlib/src/thread/SDL_systhread_c.h index 6adbb60572..de3ac347f5 100755 --- a/contrib/sdk/sources/SDL-1.2.2_newlib/src/thread/SDL_systhread_c.h +++ b/contrib/sdk/sources/SDL-1.2.2_newlib/src/thread/SDL_systhread_c.h @@ -26,4 +26,4 @@ /* Stub until we implement threads on this platform */ typedef int SYS_ThreadHandle; -#define DISABLE_THREADS +//#define DISABLE_THREADS diff --git a/contrib/sdk/sources/SDL-1.2.2_newlib/src/video/SDL_gamma.c b/contrib/sdk/sources/SDL-1.2.2_newlib/src/video/SDL_gamma.c index c847e1f48d..be4489fc7d 100755 --- a/contrib/sdk/sources/SDL-1.2.2_newlib/src/video/SDL_gamma.c +++ b/contrib/sdk/sources/SDL-1.2.2_newlib/src/video/SDL_gamma.c @@ -29,6 +29,7 @@ #include #endif #include +#include #include "SDL_error.h" #include "SDL_sysvideo.h"