Support for FreeBSD

This commit is contained in:
Hajimu UMEMOTO
2016-05-16 14:46:39 +09:00
parent 3a35dee94f
commit a359d1bbd4
10 changed files with 18 additions and 9 deletions

View File

@@ -31,6 +31,8 @@
#include <cstring>
#ifdef __APPLE__
#include <sys/malloc.h>
#elif __FreeBSD__
#include <stdlib.h>
#else
#include <malloc.h>
#endif