mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-18 12:16:40 -04:00
mem.h: Fix malloc.h include
This commit is contained in:
parent
8d5c5c419a
commit
990b96a29b
1 changed files with 5 additions and 1 deletions
|
@ -1,2 +1,6 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <malloc.h>
|
#if defined(__linux__)
|
||||||
|
#include <malloc.h>
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
#include <stdlib.h>
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue