diff src/audio/SDL_audiomem.c @ 1330:450721ad5436

It's now possible to build SDL without any C runtime at all on Windows, using Visual C++ 2005
author Sam Lantinga <slouken@libsdl.org>
date Mon, 06 Feb 2006 08:28:51 +0000
parents c9b51268668f
children 3692456e7b0f
line wrap: on
line diff
--- a/src/audio/SDL_audiomem.c	Sat Feb 04 22:01:44 2006 +0000
+++ b/src/audio/SDL_audiomem.c	Mon Feb 06 08:28:51 2006 +0000
@@ -24,7 +24,6 @@
 	(necessary because SDL audio emulates threads with fork()
  */
 
-#include <stdlib.h>
 #ifdef FORK_HACK
 #include <sys/types.h>
 #include <sys/ipc.h>
@@ -33,6 +32,7 @@
 #endif
 
 #include "SDL_audiomem.h"
+#include "SDL_stdlib.h"
 
 /* Allocate memory that will be shared between threads (freed on exit) */
 void *SDL_AllocAudioMem(int size)