summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index b3a9cde79c..99fc7d7677 100644
--- a/configure.in
+++ b/configure.in
@@ -380,7 +380,9 @@ if test x$ac_enable_openpgp = xyes; then
ac_enable_included_opencdk=$withval,
ac_enable_included_opencdk=no)
if test x$ac_enable_included_opencdk = xno;then
- AC_LIB_HAVE_LINKFLAGS(opencdk,, [#include <opencdk.h>], [cdk_check_version (OPENCDK_VERSION);])
+ AC_LIB_HAVE_LINKFLAGS(opencdk,, [
+#include <stddef.h> /* opencdk <= 0.5.13 uses size_t without this include */
+#include <opencdk.h>], [cdk_check_version (OPENCDK_VERSION);])
if test "$ac_cv_libopencdk" != yes; then
ac_enable_included_opencdk=yes
AC_MSG_WARN([[