Include juggling
authorJens Axboe <jens.axboe@oracle.com>
Wed, 16 Dec 2009 18:23:10 +0000 (19:23 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 16 Dec 2009 18:23:10 +0000 (19:23 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
helpers.c
os/os-linux.h

index 8ac5823..9b1f3e9 100644 (file)
--- a/helpers.c
+++ b/helpers.c
@@ -5,6 +5,7 @@
 #include <netinet/in.h>
 
 #include "compiler/compiler.h"
+#include "os/os.h"
 
 int __weak posix_fallocate(int fd, off_t offset, off_t len)
 {
index ac42264..7162dfa 100644 (file)
@@ -7,6 +7,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <errno.h>
+#include <sched.h>
 #include <linux/unistd.h>
 #include <linux/raw.h>
 #include <linux/major.h>