Fix OSX build
authorBruce Cran <bruce@cran.org.uk>
Tue, 18 Oct 2011 10:20:56 +0000 (12:20 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 18 Oct 2011 10:20:56 +0000 (12:20 +0200)
os.h needs to include sys/socket.h.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
os/os.h

diff --git a/os/os.h b/os/os.h
index 1218815..d6ce9a7 100644 (file)
--- a/os/os.h
+++ b/os/os.h
@@ -2,6 +2,7 @@
 #define FIO_OS_H
 
 #include <sys/types.h>
+#include <sys/socket.h>
 #include <pthread.h>
 #include <unistd.h>
 #include <stdlib.h>