Merge pull request #7 from jbeich/dragonfly

Unbreak on more BSDs
This commit is contained in:
Gregory Pakosz 2016-10-22 21:01:12 +02:00 committed by GitHub
commit a19c7531b2

View File

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