diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-12-02 22:30:56 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-12-02 22:30:56 +0300 |
commit | 70e9da424917db73a5fa6c9db39904115eba4555 (patch) | |
tree | 5bd048f7c65d7b4938b52b6d09ff64ddeba029a4 /newlib/libc/sys/linux/stdlib | |
parent | f9095d09fe2f2194d30d34c86d2410e7712f6b7e (diff) |
2004-12-02 Shaun Jackman <sjackman@gmail.com>
* libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
time_t before including sys/stat.h, which uses it.
* libc/sys/linux/sys/stat.h: Include <sys/types.h> and
<linux/time.h> just prior to definition of __KERNEL__ so as to
allow building on Debian Linux where otherwise, mktime would
be redefined.
Diffstat (limited to 'newlib/libc/sys/linux/stdlib')
-rw-r--r-- | newlib/libc/sys/linux/stdlib/glob.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/stdlib/glob.c b/newlib/libc/sys/linux/stdlib/glob.c index e40f12c20..0e392b32d 100644 --- a/newlib/libc/sys/linux/stdlib/glob.c +++ b/newlib/libc/sys/linux/stdlib/glob.c @@ -66,6 +66,7 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/glob.c,v 1.19 2002/02/01 01:32:19 obrien Ex */ #include <sys/param.h> +#include <sys/types.h> #include <sys/stat.h> #include <ctype.h> |