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 12188156cf280afea5ca29935d74ee794058228b..d6ce9a778acf518b6811d13e88b093204b292a9d 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>