summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
Diffstat (limited to 'malloc')
-rw-r--r--malloc/Versions2
-rw-r--r--malloc/malloc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/malloc/Versions b/malloc/Versions
index 1a4454f22e..e6bd731331 100644
--- a/malloc/Versions
+++ b/malloc/Versions
@@ -44,7 +44,7 @@ libc {
     # v*
     valloc;
   }
-  GLIBC_2.1 {
+  GLIBC_2.1.3 {
     # Special functions.
     __libc_freeres;
   }
diff --git a/malloc/malloc.h b/malloc/malloc.h
index 15d4a44c1d..af908c1df8 100644
--- a/malloc/malloc.h
+++ b/malloc/malloc.h
@@ -55,7 +55,7 @@
 /* Used by GNU libc internals. */
 # define __malloc_size_t size_t
 # define __malloc_ptrdiff_t ptrdiff_t
-#else
+#elif !defined __attribute_malloc__
 # define __attribute_malloc__
 #endif