From a706aa2e1c7326e8ed46353f3b11b6cc89e7d38f Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 4 Apr 2007 20:49:07 +0000 Subject: [PATCH] 2007-04-04 Jeff Johnston * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type. --- newlib/ChangeLog | 4 ++++ newlib/libc/argz/argz_insert.c | 2 ++ 2 files changed, 6 insertions(+) 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 + + * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type. + 2007-04-04 Eric Blake * 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 #include #include +#define __need_ptrdiff_t +#include error_t _DEFUN (argz_insert, (argz, argz_len, before, entry),