summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-08 11:34:08 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-08 13:31:42 -0700
commitbb9960c4d5c6829389dc8e4d484310a07f34ac78 (patch)
tree06413b323be63583b4e5d4c3189fabbdcac4841f /lib
parent8cce8985192467efefcc4f3fbed7e5385aa84154 (diff)
downloadgnulib-bb9960c4d5c6829389dc8e4d484310a07f34ac78.tar.gz
* lib/canonicalize-lgpl.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
Diffstat (limited to 'lib')
-rw-r--r--lib/canonicalize-lgpl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/canonicalize-lgpl.c b/lib/canonicalize-lgpl.c
index 9bfb44f982..1574ec108c 100644
--- a/lib/canonicalize-lgpl.c
+++ b/lib/canonicalize-lgpl.c
@@ -16,6 +16,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef _LIBC
+# define _GL_USE_STDLIB_ALLOC 1
# include <config.h>
#endif
@@ -68,8 +69,6 @@
# 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