aboutsummaryrefslogtreecommitdiffstats
path: root/lib/et/vfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/et/vfprintf.c')
-rw-r--r--lib/et/vfprintf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/et/vfprintf.c b/lib/et/vfprintf.c
index 94f0fb58..a1dc1e8c 100644
--- a/lib/et/vfprintf.c
+++ b/lib/et/vfprintf.c
@@ -19,6 +19,7 @@
static char sccsid[] = "@(#)vfprintf.c 5.2 (Berkeley) 6/27/88";
#endif /* LIBC_SCCS and not lint */
+#if !HAVE_VPRINTF && HAVE_DOPRNT
#include <stdio.h>
#include <varargs.h>
@@ -45,3 +46,4 @@ vfprintf(iop, fmt, ap)
return (ferror(iop) ? EOF : len);
}
+#endif /* !HAVE_VPRINTF */