diff options
author | Simon Josefsson <simon@josefsson.org> | 2007-04-03 15:49:14 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2007-04-03 15:49:14 +0000 |
commit | 803452854af189552dbfb40cec9b4e4df5234de0 (patch) | |
tree | ced950a8fd538dc6acdadee6f836714db3d2e1d2 /configure.in | |
parent | 74560a332c13dfe50f2432df7bf8ca5c7c643285 (diff) | |
download | gnutls-803452854af189552dbfb40cec9b4e4df5234de0.tar.gz |
Need stddef.h for opencdk.h.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
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([[ |