Add support for DragonFly, GNU/kFreeBSD and NetBSD

This commit is contained in:
Jan Beich 2016-10-16 20:32:09 +00:00
parent 4127a3363d
commit 6eb1195111

View File

@ -546,7 +546,8 @@ int WAI_PREFIX(getModulePath)(char* out, int capacity, int* dirname_length)
return length;
}
#elif defined(__FreeBSD__)
#elif defined(__DragonFly__) || defined(__FreeBSD__) || \
defined(__FreeBSD_kernel__) || defined(__NetBSD__)
#include <limits.h>
#include <stdlib.h>