diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h
index 891a9ac88e43ce3f7c3be620a86be8f7a4c5c42e..e47c21daffa1fd9d1fb40a61a89ba65b45cc568d 100644
--- a/include/SDL_stdinc.h
+++ b/include/SDL_stdinc.h
@@ -174,6 +174,8 @@ extern DECLSPEC void SDLCALL SDL_free(void *mem);
 #  define alloca _alloca
 # elif defined(__WATCOMC__)
 #  include <malloc.h>
+# elif defined(__BORLANDC__)
+#  include <malloc.h>
 # elif defined(__DMC__)
 #  include <stdlib.h>
 # elif defined(__AIX__)