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 8ac58239fef434a5338fcce4f3f54f65586ed22d..9b1f3e90468f58bc3e1f143d0fdbb29b3ae19573 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 ac42264b1a7b6db77b9ef78d7d104382c522b656..7162dfa20fa7721434ccb23a9e3660909d776d36 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>