aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpgme.h')
-rw-r--r--src/gpgme.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpgme.h b/src/gpgme.h
index 139f7bc..e9b59ce 100644
--- a/src/gpgme.h
+++ b/src/gpgme.h
@@ -1,4 +1,8 @@
+/* http://www.gnupg.org/documentation/manuals/gpgme/Largefile-Support-_0028LFS_0029.html#Largefile-Support-_0028LFS_0029
+ we now need to define _FILE_OFFSET_BITS prior to including gpgme.h
+ */
+#define _FILE_OFFSET_BITS 64
#include <gpgme.h>
#define SLAPT_GPG_KEY "GPG-KEY"