summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2010-03-07 14:35:27 +0000
committerJason Woodward2010-03-07 14:35:27 +0000
commiteccef48e540ce22effa5ede7713ecce4f50f4579 (patch)
tree93f37e00a3c1692b2eab4008db484608043cbe3e /src
parent1b59d4d252e0c2e3469d15b83967c30b8fba5f40 (diff)
downloadslapt-get-eccef48e540ce22effa5ede7713ecce4f50f4579.tar.gz
define _FILE_OFFSET_BITS prior to including gpgme.h as required by gpgme in -current
Diffstat (limited to 'src')
-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"