summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-01-05 19:04:15 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-01-05 19:04:15 +0100
commit3c2d93ede7d03b3a6923edb55c7737fe014794cb (patch)
treedb78bdc289562117f60419dcfcafc34789034865
parentf356d01d0cf8fec2ee58f66a9b5c00c93defbc47 (diff)
downloadfio-3c2d93ede7d03b3a6923edb55c7737fe014794cb.tar.gz
fio-3c2d93ede7d03b3a6923edb55c7737fe014794cb.tar.bz2
Make sure os mutex define is visible in mutex.c
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--mutex.c1
-rw-r--r--os/os-linux.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/mutex.c b/mutex.c
index 5beaa08f..1538f62c 100644
--- a/mutex.c
+++ b/mutex.c
@@ -9,6 +9,7 @@
#include "log.h"
#include "mutex.h"
#include "arch/arch.h"
+#include "os/os.h"
void fio_mutex_remove(struct fio_mutex *mutex)
{
diff --git a/os/os-linux.h b/os/os-linux.h
index a2a9b249..4460653f 100644
--- a/os/os-linux.h
+++ b/os/os-linux.h
@@ -6,6 +6,7 @@
#include <sys/syscall.h>
#include <unistd.h>
#include <fcntl.h>
+#include <errno.h>
#include <linux/unistd.h>
#include <linux/raw.h>
#include <linux/major.h>