diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-11-19 16:31:08 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-11-19 16:31:08 +0100 |
commit | e2802064b2bdddb9e02cfa278f531e1dcdf0054d (patch) | |
tree | 526d3ec9b11e663e924f4505d33da7869b63e59e /newlib | |
parent | bdc616938151be67ad286748bd382d068ca80ef2 (diff) | |
download | newlib-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/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/stdlib/rpmatch.c | 1 |
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> |