about summary refs log tree commit diff
path: root/iconv/strtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/strtab.c')
-rw-r--r--iconv/strtab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iconv/strtab.c b/iconv/strtab.c
index be79dc29ed..49fb254454 100644
--- a/iconv/strtab.c
+++ b/iconv/strtab.c
@@ -26,6 +26,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/cdefs.h>
 #include <sys/param.h>
 
 
@@ -65,7 +66,7 @@ struct Strtab
 static size_t ps;
 
 
-extern void *xmalloc (size_t n) __attribute__ ((__malloc__));
+extern void *xmalloc (size_t n) __attribute_malloc__;
 
 
 struct Strtab *