X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Frelocatable.c;h=a7bbd99dca78be9628ac6a0edef175a822bcbe93;hb=4fe68d4176b4f0da64660bb9ce0f5412a6bb24de;hp=cbff85fa62f9089227439e41c779dda57f73e852;hpb=b8d53f77acf1ed08ba808014e534e07c9dd40daf;p=gnulib.git diff --git a/lib/relocatable.c b/lib/relocatable.c index cbff85fa6..a7bbd99dc 100644 --- a/lib/relocatable.c +++ b/lib/relocatable.c @@ -25,6 +25,7 @@ # define _GNU_SOURCE 1 #endif +#define _GL_USE_STDLIB_ALLOC 1 #include /* Specification. */ @@ -86,9 +87,6 @@ # define FILE_SYSTEM_PREFIX_LEN(P) 0 #endif -/* Use the system functions, not the gnulib overrides in this file. */ -#undef malloc - /* Original installation prefix. */ static char *orig_prefix; static size_t orig_prefix_len;