[newlib-cygwin] Fix rpmatch build problem
Corinna Vinschen
corinna@sourceware.org
Thu Nov 19 15:31:00 GMT 2015
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=e2802064b2bdddb9e02cfa278f531e1dcdf0054d
commit e2802064b2bdddb9e02cfa278f531e1dcdf0054d
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Thu Nov 19 16:31:08 2015 +0100
Fix rpmatch build problem
* libc/stdlib/rpmatch.c: Include sys/types.h to make GCC happy.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
newlib/ChangeLog | 4 ++++
newlib/libc/stdlib/rpmatch.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index b56fc06..ecf52f1 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2015-11-19 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/stdlib/rpmatch.c: Include sys/types.h to make GCC happy.
+
2015-11-12 Jon Turney <jon.turney@dronecode.org.uk>
* libc/stdio/sprintf.c: Simplify documentation markup.
diff --git a/newlib/libc/stdlib/rpmatch.c b/newlib/libc/stdlib/rpmatch.c
index 879d1f3..0bbdf43 100644
--- a/newlib/libc/stdlib/rpmatch.c
+++ b/newlib/libc/stdlib/rpmatch.c
@@ -57,6 +57,7 @@ No supporting OS subroutines are required.
*/
#include <sys/cdefs.h>
+#include <sys/types.h>
#include <langinfo.h>
#include <regex.h>
More information about the Newlib-cvs
mailing list