From: Nikos Mavrogiannopoulos Date: Wed, 9 Apr 2014 13:10:12 +0000 (+0200) Subject: Prevent gnulib from replacing strdup as we don't include this gnulib module. X-Git-Tag: gnutls_3_3_0~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8cedd9124c9727d4fb25fd2a608d0abaa1cc68d0;p=thirdparty%2Fgnutls.git Prevent gnulib from replacing strdup as we don't include this gnulib module. --- diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index 7762404ca1..785f9e6e20 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -36,6 +36,12 @@ #include #include +/* For some reason gnulib likes to provide alternatives for + * functions it doesn't include. Even worse these functions seem + * to be available on the target systems. + */ +#undef strdup + #ifdef NO_SSIZE_T #define HAVE_SSIZE_T typedef int ssize_t;