Avoid relocwrapper link errors due to gnulib replacement functions.
[gnulib.git] / lib / canonicalize-lgpl.c
index 939e3f1..c2164e0 100644 (file)
@@ -62,6 +62,8 @@
 # endif
 # define __readlink readlink
 # define __set_errno(e) errno = (e)
+/* Use the system functions, not the gnulib overrides in this file.  */
+# undef malloc
 # ifndef MAXSYMLINKS
 #  ifdef SYMLOOP_MAX
 #   define MAXSYMLINKS SYMLOOP_MAX