summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/vfprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/vfprintf.c')
-rw-r--r--newlib/libc/stdio/vfprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdio/vfprintf.c b/newlib/libc/stdio/vfprintf.c
index 5fe443138..96fa4ba2e 100644
--- a/newlib/libc/stdio/vfprintf.c
+++ b/newlib/libc/stdio/vfprintf.c
@@ -187,6 +187,7 @@ static char *rcsid = "$Id$";
#include <reent.h>
#include <wchar.h>
#include <string.h>
+#include <sys/lock.h>
#ifdef _HAVE_STDC
#include <stdarg.h>