Skip to content

Commit 90af210

Browse files
authored
include malloc.h so the win32 platform can build in MSVC (#5365)
1 parent 0747e9b commit 90af210

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/platforms/rcore_desktop_win32.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@
7272
#include <shellscalingapi.h>
7373
#include <versionhelpers.h>
7474

75+
#include <malloc.h> // Required for alloca()
76+
7577
#if !defined(GRAPHICS_API_OPENGL_11_SOFTWARE)
7678
#include <GL/gl.h>
7779
#endif

0 commit comments

Comments
 (0)