diff options
Diffstat (limited to 'lib/tdb2/tdb2.h')
-rw-r--r-- | lib/tdb2/tdb2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tdb2/tdb2.h b/lib/tdb2/tdb2.h index 3f80793d76..93f8e9d3cb 100644 --- a/lib/tdb2/tdb2.h +++ b/lib/tdb2/tdb2.h @@ -30,6 +30,10 @@ extern "C" { #endif #ifndef _SAMBA_BUILD_ +#include "config.h" +#if HAVE_FILE_OFFSET_BITS +#define _FILE_OFFSET_BITS 64 +#endif /* For mode_t */ #include <sys/types.h> /* For O_* flags. */ |