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