summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-01-06 14:22:30 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-01-06 14:22:30 +0100
commit690dec6e4ec7297a477b809fa24ee23dc02348c9 (patch)
tree3a72c727767797156f969f7cfa210159c96b6076
parent2e3e31e36b3565dcc5e36ba3842e7b207799601f (diff)
downloadfio-690dec6e4ec7297a477b809fa24ee23dc02348c9.tar.gz
fio-690dec6e4ec7297a477b809fa24ee23dc02348c9.tar.bz2
OS includes need errno.h
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--os/os-freebsd.h1
-rw-r--r--os/os-solaris.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/os/os-freebsd.h b/os/os-freebsd.h
index 614296a4..3939d652 100644
--- a/os/os-freebsd.h
+++ b/os/os-freebsd.h
@@ -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
diff --git a/os/os-solaris.h b/os/os-solaris.h
index 35148d2d..b58d1308 100644
--- a/os/os-solaris.h
+++ b/os/os-solaris.h
@@ -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>