[PATCH] libgpgme header change to fix compilation issues on AIX, z/OS and HP-UX

Amul Shah amul.shah at fnis.com
Tue Jul 28 20:37:09 CEST 2009

This patch applies to libgpgme 1.1.8 and fixes compilation issues on AIX
5.3, HP-UX (11.31 IA64) and z/OS R10.

I successfully tested (./configure && make  && make check) the
compilation of libgpgme 1.1.8 on Ubuntu 8.04 x86_64 with the fix.

This work was done by Karthik K of s7software.

Amul Shah

diff -purN gpgme-1.1.8.orig/src/version.c gpgme-1.1.8.new/src/version.c
--- gpgme-1.1.8.orig/src/version.c	Tue Nov 18 12:20:14 2008
+++ gpgme-1.1.8.new/src/version.c	Thu Apr 30 14:02:49 2009
@@ -22,6 +22,7 @@
 #include <config.h>
+#include <stdlib.h>
 #include <string.h>
 #include <limits.h>
 #include <ctype.h>


The information contained in this message is proprietary and/or confidential. If you are not the 
intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, 
distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, 
please be aware that any message addressed to our domain is subject to archiving and review by 
persons other than the intended recipient. Thank you.

More information about the Gnupg-devel mailing list