summaryrefslogtreecommitdiff
path: root/libc/stdio/vasprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/vasprintf.c')
-rw-r--r--libc/stdio/vasprintf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/stdio/vasprintf.c b/libc/stdio/vasprintf.c
index f355b227f..7a34f6870 100644
--- a/libc/stdio/vasprintf.c
+++ b/libc/stdio/vasprintf.c
@@ -5,6 +5,9 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#include <features.h>
+
+#ifdef __USE_GNU
#include "_stdio.h"
#include <stdarg.h>
#include <bits/uClibc_va_copy.h>
@@ -85,3 +88,4 @@ int vasprintf(char **__restrict buf, const char * __restrict format,
libc_hidden_def(vasprintf)
#endif
+#endif