diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/oslib-posix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/oslib-posix.c b/util/oslib-posix.c index c2eeb4fe40..8e9c770d28 100644 --- a/util/oslib-posix.c +++ b/util/oslib-posix.c @@ -63,6 +63,10 @@ extern int daemon(int, int); #include <sys/syscall.h> #endif +#ifdef __FreeBSD__ +#include <sys/sysctl.h> +#endif + int qemu_get_thread_id(void) { #if defined(__linux__) |