Fix FreeBSD compile error

This commit is contained in:
rdb 2017-02-17 12:59:50 +01:00
parent 78e4c71202
commit 21a42f62df
1 changed files with 1 additions and 4 deletions

View File

@ -23,11 +23,8 @@
#include <unistd.h>
#endif
#ifdef IS_OSX
#if defined(IS_OSX) || defined(IS_FREEBSD)
#include <sys/sysctl.h>
#endif
#ifdef IS_FREEBSD
#include <unistd.h>
#endif