memmem: slight optimization
[pspp] / lib / canonicalize-lgpl.c
index 939e3f1149471b363cdc523484473913fb1e5cef..c2164e07fede152ed7a93e9a0f18cf2229d8a907 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