netbsd: fix gettid
[fio.git] / os / os-freebsd.h
index 875de9642b436dbc7f7ca4c2c28d97853edf5959..2a7b7b327a83f6fb50eb7f1839108ca108b9e1ef 100644 (file)
@@ -8,6 +8,7 @@
 #include <sys/disk.h>
 #include <sys/thr.h>
 #include <sys/endian.h>
+#include <sys/socket.h>
 
 #include "../file.h"
 
 #define FIO_HAVE_ODIRECT
 #define FIO_HAVE_STRSEP
 #define FIO_USE_GENERIC_RAND
+#define FIO_USE_GENERIC_INIT_RANDOM_STATE
 #define FIO_HAVE_CHARDEV_SIZE
-#define FIO_HAVE_CLOCK_MONOTONIC
 #define FIO_HAVE_GETTID
+#define FIO_HAVE_CLOCK_MONOTONIC
 
 #define OS_MAP_ANON            MAP_ANON