From a4db04e5b1d269feb815f6c8ef7b37e8595b24c1 Mon Sep 17 00:00:00 2001 From: Walter Julius Hennecke Date: Mon, 8 Oct 2012 12:46:02 +0200 Subject: [PATCH] Fix for linux compile ... --- code/SDL12/include/SDL_config_minimal.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/SDL12/include/SDL_config_minimal.h b/code/SDL12/include/SDL_config_minimal.h index 002c56e..83c3cef 100644 --- a/code/SDL12/include/SDL_config_minimal.h +++ b/code/SDL12/include/SDL_config_minimal.h @@ -27,8 +27,13 @@ /* This is the minimal configuration that can be used to build SDL */ +#ifdef __linux__ +#include +#include +#endif #include +#ifndef __linux__ typedef signed char int8_t; typedef unsigned char uint8_t; typedef signed short int16_t; @@ -37,6 +42,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