]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Prevent gnulib from replacing strdup as we don't include this gnulib module.
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 9 Apr 2014 13:10:12 +0000 (15:10 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 9 Apr 2014 13:10:16 +0000 (15:10 +0200)
lib/gnutls_int.h

index 7762404ca1cd8841829ba85924764c8f7c51fbf8..785f9e6e20eb87bd5df6c177a02738b647e25ff9 100644 (file)
 #include <stdint.h>
 #include <stdbool.h>
 
+/* 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;