diff options
Diffstat (limited to 'runtime/POSIX/fd.h')
-rw-r--r-- | runtime/POSIX/fd.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/POSIX/fd.h b/runtime/POSIX/fd.h index 4c07ac9a..067f217e 100644 --- a/runtime/POSIX/fd.h +++ b/runtime/POSIX/fd.h @@ -23,8 +23,13 @@ #include <sys/statfs.h> #endif -#if defined(__APPLE__) +#ifdef __APPLE__ #include <sys/dtrace.h> +#endif +#ifdef __FreeBSD__ +#include "FreeBSD.h" +#endif +#if defined(__APPLE__) || defined(__FreeBSD__) #include <sys/mount.h> #include <sys/param.h> #if !defined(dirent64) |