]> git.ozlabs.org Git - ccan/blobdiff - ccan/failtest/failtest.h
failtest: use 64 bit offsets if available.
[ccan] / ccan / failtest / failtest.h
index 9cabd1a9a712d1ac2bb0c559e41a024b136f1f38..0cc8f60c51ba15aa48e207c6088bfe4d39b70050 100644 (file)
@@ -2,6 +2,9 @@
 #ifndef CCAN_FAILTEST_H
 #define CCAN_FAILTEST_H
 #include "config.h"
+#if HAVE_FILE_OFFSET_BITS
+#define _FILE_OFFSET_BITS 64
+#endif
 #include <sys/types.h>
 #include <stdbool.h>
 #include <fcntl.h>