diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2007-04-05 00:49:07 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2007-04-05 00:49:07 +0400 |
commit | a706aa2e1c7326e8ed46353f3b11b6cc89e7d38f (patch) | |
tree | 099ff4778f970c3f98eefe9d109951745cefc807 /newlib | |
parent | db7aa4b168ac43894f6ce58cf9b79b5be528e378 (diff) |
2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/argz/argz_insert.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index ce2c8c920..c6d3c44ce 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2007-04-04 Jeff Johnston <jjohnstn@redhat.com> + + * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type. + 2007-04-04 Eric Blake <ebb9@byu.net> * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy. diff --git a/newlib/libc/argz/argz_insert.c b/newlib/libc/argz/argz_insert.c index 3ae662116..8345640c5 100644 --- a/newlib/libc/argz/argz_insert.c +++ b/newlib/libc/argz/argz_insert.c @@ -9,6 +9,8 @@ #include <string.h> #include <stdlib.h> #include <argz.h> +#define __need_ptrdiff_t +#include <stddef.h> error_t _DEFUN (argz_insert, (argz, argz_len, before, entry), |