From e2802064b2bdddb9e02cfa278f531e1dcdf0054d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 19 Nov 2015 16:31:08 +0100 Subject: [PATCH] Fix rpmatch build problem * libc/stdlib/rpmatch.c: Include sys/types.h to make GCC happy. Signed-off-by: Corinna Vinschen --- newlib/ChangeLog | 4 ++++ newlib/libc/stdlib/rpmatch.c | 1 + 2 files changed, 5 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index b56fc0674..ecf52f167 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2015-11-19 Corinna Vinschen + + * libc/stdlib/rpmatch.c: Include sys/types.h to make GCC happy. + 2015-11-12 Jon Turney * libc/stdio/sprintf.c: Simplify documentation markup. diff --git a/newlib/libc/stdlib/rpmatch.c b/newlib/libc/stdlib/rpmatch.c index 879d1f3ac..0bbdf43ed 100644 --- a/newlib/libc/stdlib/rpmatch.c +++ b/newlib/libc/stdlib/rpmatch.c @@ -57,6 +57,7 @@ No supporting OS subroutines are required. */ #include +#include #include #include