Kill fusion atomic write engine
[fio.git] / helpers.c
index dce967d39d6c4bc8f1e2b7cbf8410fdaa1aed093..a0ee37044e8abdc418ac9f19fcca06509858485a 100644 (file)
--- a/helpers.c
+++ b/helpers.c
@@ -1,13 +1,6 @@
-#include <stdlib.h>
 #include <errno.h>
-#include <sys/socket.h>
-#include <sys/time.h>
-#include <netinet/in.h>
-#include <unistd.h>
 
-#include "compiler/compiler.h"
-#include "arch/arch.h"
-#include "os/os.h"
+#include "helpers.h"
 
 #ifndef CONFIG_LINUX_FALLOCATE
 int fallocate(int fd, int mode, off_t offset, off_t len)
@@ -32,7 +25,7 @@ int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags)
 }
 #endif
 
-#ifndef CONFIG_FADVISE
+#ifndef CONFIG_POSIX_FADVISE
 int posix_fadvise(int fd, off_t offset, off_t len, int advice)
 {
        return 0;