aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-11-19 16:31:08 +0100
committerCorinna Vinschen <corinna@vinschen.de>2015-11-19 16:31:08 +0100
commite2802064b2bdddb9e02cfa278f531e1dcdf0054d (patch)
tree526d3ec9b11e663e924f4505d33da7869b63e59e /newlib
parentbdc616938151be67ad286748bd382d068ca80ef2 (diff)
downloadnewlib-e2802064b2bdddb9e02cfa278f531e1dcdf0054d.zip
newlib-e2802064b2bdddb9e02cfa278f531e1dcdf0054d.tar.gz
newlib-e2802064b2bdddb9e02cfa278f531e1dcdf0054d.tar.bz2
Fix rpmatch build problem
* libc/stdlib/rpmatch.c: Include sys/types.h to make GCC happy. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib')
-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>