aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/stdlib/rpmatch.c1
2 files changed, 5 insertions, 0 deletions
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>