<stdlib.h> has replaced <malloc.h> on FreeBSD as well

This commit is contained in:
Kyle Evans 2015-12-10 21:24:37 -06:00
parent 94c397b868
commit 7c6237e134

View file

@ -44,7 +44,7 @@ extern HWND Window;
#define FALSE 0 #define FALSE 0
#define TRUE 1 #define TRUE 1
#endif #endif
#ifdef __APPLE__ #if defined(__FreeBSD__) || defined(__APPLE__)
#include <stdlib.h> #include <stdlib.h>
#elif __sun #elif __sun
#include <alloca.h> #include <alloca.h>