This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
[PATCH] trivial fix to get vfprintf.c to compile
- From: Christopher Faylor <cgf at redhat dot com>
- To: newlib at sources dot redhat dot com
- Date: Fri, 16 Jan 2004 23:28:57 -0500
- Subject: [PATCH] trivial fix to get vfprintf.c to compile
2004-01-16 Christopher Faylor <cgf@redhat.com>
* libc/stdio/vfprintf.c: Add sys/lock.h include.
Index: libc/stdio/vfprintf.c
===================================================================
RCS file: /cvs/uberbaum/./newlib/libc/stdio/vfprintf.c,v
retrieving revision 1.28
diff -u -p -r1.28 vfprintf.c
--- libc/stdio/vfprintf.c 16 Jan 2004 19:29:16 -0000 1.28
+++ libc/stdio/vfprintf.c 17 Jan 2004 04:28:14 -0000
@@ -187,6 +187,7 @@ static char *rcsid = "$Id: vfprintf.c,v
#include <reent.h>
#include <wchar.h>
#include <string.h>
+#include <sys/lock.h>
#ifdef _HAVE_STDC
#include <stdarg.h>