summaryrefslogtreecommitdiff
path: root/libc/stdio/vdprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/vdprintf.c')
-rw-r--r--libc/stdio/vdprintf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/stdio/vdprintf.c b/libc/stdio/vdprintf.c
index 34aa47697..b26a925bc 100644
--- a/libc/stdio/vdprintf.c
+++ b/libc/stdio/vdprintf.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>
@@ -65,3 +68,4 @@ int vdprintf(int filedes, const char * __restrict format, va_list arg)
return rv;
}
libc_hidden_def(vdprintf)
+#endif