summaryrefslogtreecommitdiff
path: root/libc/stdio/asprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/asprintf.c')
-rw-r--r--libc/stdio/asprintf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/stdio/asprintf.c b/libc/stdio/asprintf.c
index f5ccfcc7c..3f1992559 100644
--- a/libc/stdio/asprintf.c
+++ b/libc/stdio/asprintf.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>
@@ -30,3 +33,4 @@ int asprintf(char **__restrict buf, const char * __restrict format, ...)
libc_hidden_def(asprintf)
#endif
+#endif