OS includes need errno.h
authorJens Axboe <jens.axboe@oracle.com>
Tue, 6 Jan 2009 13:22:30 +0000 (14:22 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 6 Jan 2009 13:22:30 +0000 (14:22 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
os/os-freebsd.h
os/os-solaris.h

index 614296a4bc8744e8d4395a8abe9ef40eeb89f8d4..3939d65254ab81edf7e4a06abdcf4399bdccdbf9 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef FIO_OS_FREEBSD_H
 #define FIO_OS_FREEBSD_H
 
+#include <errno.h>
 #include <sys/sysctl.h>
 
 #define FIO_HAVE_POSIXAIO
index 35148d2dfcec7bf6aff5de95af36a30357842b84..b58d1308efc49e4bd1cf0d530256f90e9e076afd 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef FIO_OS_SOLARIS_H
 #define FIO_OS_SOLARIS_H
 
+#include <errno.h>
 #include <sys/types.h>
 #include <sys/fcntl.h>
 #include <sys/pset.h>