fix freebsd build

This commit is contained in:
cyy 2020-03-27 18:12:10 +08:00
parent 340df65fb4
commit bdc29cccb6

View File

@ -54,7 +54,7 @@
#endif
#if defined __linux__ || defined __APPLE__ || defined __GLIBC__ \
|| defined __HAIKU__ || defined __EMSCRIPTEN__
|| defined __HAIKU__ || defined __EMSCRIPTEN__ || defined __FreeBSD__
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>