diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-07-02 22:38:45 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-07-02 22:38:45 +0400 |
commit | 18a635e315d60f65d87a7ed590c3fea4fd4cc09c (patch) | |
tree | 561a52f7783876bbb6de626bf62d6c0c81fd4a8f | |
parent | a9f7d0a7a7b134004b92092831bdefc6faf8213c (diff) |
2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/argz/argz_count.c: Include stddef.h to get size_t.
* libc/argz/argz_extract.c: Ditto.
* libc/argz/argz_stringify.c: Ditto.
* libc/search/hash.h: Ditto.
* libc/sys/linux/include/sched.h: Ditto.
* libc/sys/linux/sys/types.h: Ditto.
-rw-r--r-- | newlib/ChangeLog | 9 | ||||
-rw-r--r-- | newlib/libc/argz/argz_count.c | 1 | ||||
-rw-r--r-- | newlib/libc/argz/argz_extract.c | 1 | ||||
-rw-r--r-- | newlib/libc/argz/argz_stringify.c | 1 | ||||
-rw-r--r-- | newlib/libc/search/hash.h | 2 | ||||
-rw-r--r-- | newlib/libc/sys/linux/include/sched.h | 3 | ||||
-rw-r--r-- | newlib/libc/sys/linux/sys/types.h | 2 |
7 files changed, 19 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 1b24d0185..820ef098f 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,14 @@ 2008-07-02 Jeff Johnston <jjohnstn@redhat.com> + * libc/argz/argz_count.c: Include stddef.h to get size_t. + * libc/argz/argz_extract.c: Ditto. + * libc/argz/argz_stringify.c: Ditto. + * libc/search/hash.h: Ditto. + * libc/sys/linux/include/sched.h: Ditto. + * libc/sys/linux/sys/types.h: Ditto. + +2008-07-02 Jeff Johnston <jjohnstn@redhat.com> + * libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned source data is taken care of before loop unrolling. diff --git a/newlib/libc/argz/argz_count.c b/newlib/libc/argz/argz_count.c index 0c8a816c1..8f0366828 100644 --- a/newlib/libc/argz/argz_count.c +++ b/newlib/libc/argz/argz_count.c @@ -5,6 +5,7 @@ */ #include <_ansi.h> +#include <stddef.h> #include <sys/types.h> size_t diff --git a/newlib/libc/argz/argz_extract.c b/newlib/libc/argz/argz_extract.c index 56c604684..a819f3953 100644 --- a/newlib/libc/argz/argz_extract.c +++ b/newlib/libc/argz/argz_extract.c @@ -4,6 +4,7 @@ * is freely granted, provided that this notice is preserved. */ +#include <stddef.h> #include <argz.h> #include <sys/types.h> diff --git a/newlib/libc/argz/argz_stringify.c b/newlib/libc/argz/argz_stringify.c index febf8b4f9..04bea7514 100644 --- a/newlib/libc/argz/argz_stringify.c +++ b/newlib/libc/argz/argz_stringify.c @@ -5,6 +5,7 @@ */ #include <_ansi.h> +#include <stddef.h> #include <sys/types.h> void diff --git a/newlib/libc/search/hash.h b/newlib/libc/search/hash.h index db9e96dd8..6491814d6 100644 --- a/newlib/libc/search/hash.h +++ b/newlib/libc/search/hash.h @@ -38,6 +38,8 @@ */ #include <sys/param.h> +#define __need_size_t +#include <stddef.h> /* Check that newlib understands the byte order of its target system. */ #ifndef BYTE_ORDER diff --git a/newlib/libc/sys/linux/include/sched.h b/newlib/libc/sys/linux/include/sched.h index becad0f36..91a7a7e7b 100644 --- a/newlib/libc/sys/linux/include/sched.h +++ b/newlib/libc/sys/linux/include/sched.h @@ -22,6 +22,9 @@ #include <features.h> +#define __need_size_t +#include <stddef.h> + /* Get type definitions. */ #include <bits/types.h> diff --git a/newlib/libc/sys/linux/sys/types.h b/newlib/libc/sys/linux/sys/types.h index ba191f072..8e674eff6 100644 --- a/newlib/libc/sys/linux/sys/types.h +++ b/newlib/libc/sys/linux/sys/types.h @@ -50,6 +50,8 @@ * libc/include/sys/types.h. Repeat those here and * skip the kernel's definitions. */ +#define __need_size_t +#include <stddef.h> #include <sys/config.h> #include <features.h> #include <machine/types.h> |