]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Need stddef.h for opencdk.h.
authorSimon Josefsson <simon@josefsson.org>
Tue, 3 Apr 2007 15:49:14 +0000 (15:49 +0000)
committerSimon Josefsson <simon@josefsson.org>
Tue, 3 Apr 2007 15:49:14 +0000 (15:49 +0000)
configure.in

index b3a9cde79c6144b62d9aea1cffbdc784f875ee52..99fc7d767782048e3db105140c6981738ea53f5e 100644 (file)
@@ -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([[