summaryrefslogtreecommitdiff
path: root/src/SDL12
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2012-04-11 04:51:58 +0000
committerTim Angus <tim@ngus.net>2013-01-12 20:21:22 +0000
commit4aa72805a4d59a2297402fca07b4987251b0a62f (patch)
treeb470fbd4e242e9840495190214f24f1c3a34fbdb /src/SDL12
parent6d82447b7ec04dafc49561b48e6440e12c219461 (diff)
Minor hack to SDL headers for building on Linux.
Diffstat (limited to 'src/SDL12')
-rw-r--r--src/SDL12/include/SDL_config_minimal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SDL12/include/SDL_config_minimal.h b/src/SDL12/include/SDL_config_minimal.h
index d10db7c6..a08e190e 100644
--- a/src/SDL12/include/SDL_config_minimal.h
+++ b/src/SDL12/include/SDL_config_minimal.h
@@ -27,8 +27,11 @@
/* This is the minimal configuration that can be used to build SDL */
+#include <stdio.h>
+#include <stdint.h>
#include <stdarg.h>
+#if 0
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed short int16_t;
@@ -37,6 +40,7 @@ typedef signed int int32_t;
typedef unsigned int uint32_t;
typedef unsigned int size_t;
typedef unsigned long uintptr_t;
+#endif
/* Enable the dummy audio driver (src/audio/dummy/\*.c) */
#define SDL_AUDIO_DRIVER_DUMMY 1