fix bug in dladdr that prevented resolving addresses in the PLT
[oweals/musl.git] / src / stdio / asprintf.c
index 79e59c2db9a76e094564a2e68d2df11ce595eda4..4ec83534e05827134f2ef3ce888bf76da2075972 100644 (file)
@@ -1,8 +1,7 @@
+#define _GNU_SOURCE
 #include <stdio.h>
 #include <stdarg.h>
 
-int vasprintf(char **, const char *, va_list);
-
 int asprintf(char **s, const char *fmt, ...)
 {
        int ret;