Fix compile on older systems that don't have fallocate() on Linux
[fio.git] / helpers.h
index 7b1ad3493c60624863e60f67602b03cab86aa145..da20a6bac38465438437c7b376611f892ac9e735 100644 (file)
--- a/helpers.h
+++ b/helpers.h
@@ -7,6 +7,7 @@
 
 struct in_addr;
 
+extern int _weak fallocate(int fd, int mode, off_t offset, off_t len);
 extern int _weak posix_memalign(void **ptr, size_t align, size_t size);
 extern int _weak posix_fallocate(int fd, off_t offset, off_t len);
 extern int _weak inet_aton(const char *cp, struct in_addr *inp);