]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/private.h
tdb2: use 64 bit file offsets on 32 bit systems if available.
[ccan] / ccan / tdb2 / private.h
index cc791b0bb4e3da3226c22862b21d03e32304e931..14d319ce7aa6a128d9630b6676a517a2c0461887 100644 (file)
@@ -19,6 +19,9 @@
 */
 
 #include "config.h"
+#if HAVE_FILE_OFFSET_BITS
+#define _FILE_OFFSET_BITS 64
+#endif
 #include <stdint.h>
 #include <stdbool.h>
 #include <stdlib.h>