Browse Source

Included malloc.h from files using malloc on Win32.

Camilla Berglund 13 years ago
parent
commit
6399fb19fd
7 changed files with 7 additions and 0 deletions
  1. 1 0
      src/fullscreen.c
  2. 1 0
      src/win32_clipboard.c
  3. 1 0
      src/win32_fullscreen.c
  4. 1 0
      src/win32_init.c
  5. 1 0
      src/win32_opengl.c
  6. 1 0
      src/win32_window.c
  7. 1 0
      src/window.c

+ 1 - 0
src/fullscreen.c

@@ -31,6 +31,7 @@
 #include "internal.h"
 
 #include <stdlib.h>
+#include <malloc.h>
 
 
 //========================================================================

+ 1 - 0
src/win32_clipboard.c

@@ -32,6 +32,7 @@
 #include <limits.h>
 #include <string.h>
 #include <stdlib.h>
+#include <malloc.h>
 
 
 //////////////////////////////////////////////////////////////////////////

+ 1 - 0
src/win32_fullscreen.c

@@ -32,6 +32,7 @@
 
 #include <stdlib.h>
 #include <limits.h>
+#include <malloc.h>
 
 
 //========================================================================

+ 1 - 0
src/win32_init.c

@@ -31,6 +31,7 @@
 #include "internal.h"
 
 #include <stdlib.h>
+#include <malloc.h>
 
 #ifdef __BORLANDC__
 // With the Borland C++ compiler, we want to disable FPU exceptions

+ 1 - 0
src/win32_opengl.c

@@ -31,6 +31,7 @@
 #include "internal.h"
 
 #include <stdlib.h>
+#include <malloc.h>
 
 
 //========================================================================

+ 1 - 0
src/win32_window.c

@@ -32,6 +32,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <malloc.h>
 
 
 //========================================================================

+ 1 - 0
src/window.c

@@ -32,6 +32,7 @@
 
 #include <string.h>
 #include <stdlib.h>
+#include <malloc.h>
 
 
 //========================================================================