aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/helpers.h
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-09-26 09:35:40 +0000
committerJustus Winter <[email protected]>2016-09-26 14:54:57 +0000
commit3703a4723899d7563937b4b99f5bbe4dd8d3dfed (patch)
tree247cea864252c3774c56df74cd1ee9dfc1881d22 /lang/python/helpers.h
parentFix spelling (diff)
downloadgpgme-3703a4723899d7563937b4b99f5bbe4dd8d3dfed.tar.gz
gpgme-3703a4723899d7563937b4b99f5bbe4dd8d3dfed.zip
python: Include 'config.h'.
* lang/python/Makefile.am: Pass 'top_builddir' to 'setup.py'. * lang/python/gpgme.i: Include 'config.h'. * lang/python/helpers.c: Likewise. * lang/python/helpers.h: Likewise. * lang/python/setup.py.in: Make sure that 'config.h' can be found. -- Fixes build on 32 bit platforms with large file support. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
-rw-r--r--lang/python/helpers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/python/helpers.h b/lang/python/helpers.h
index 9200f937..67d23b2e 100644
--- a/lang/python/helpers.h
+++ b/lang/python/helpers.h
@@ -18,6 +18,10 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <gpgme.h>
#include "Python.h"