Fix some issues with the OSX port
[fio.git] / helpers.h
index a3a773bc098fe0edd762ed99c449dcf0ae8c3801..4f8cc0ce2f87bba511baebbfc13df02b52d92b13 100644 (file)
--- a/helpers.h
+++ b/helpers.h
@@ -1,10 +1,13 @@
 #ifndef FIO_HELPERS_H
 #define FIO_HELPERS_H
 
+#include "compiler/compiler.h"
+
 struct in_addr;
 
 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);
+extern int __weak clock_gettime(clockid_t clk_id, struct timespec *ts);
 
 #endif