Add header include for DragonFlyBSD
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 10 Jun 2015 12:52:45 +0000 (21:52 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 10 Jun 2015 17:52:22 +0000 (02:52 +0900)
Add '#include <unistd.h>' to os/os-dragonfly.h for lwp_gettid(2).
(No error on make, but needs <unistd.h> to include this header
independently)

os/os-dragonfly.h

index bc855baf1cab993e8049ea21e66c7e6082743d6b..7f62233012df62540e7f0f959b643973727309d0 100644 (file)
@@ -4,6 +4,7 @@
 #define        FIO_OS  os_dragonfly
 
 #include <errno.h>
+#include <unistd.h>
 #include <sys/param.h>
 #include <sys/sysctl.h>