From 5b7a592d516e9ddf407dff799f512aa941e5f5e0 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 23 Oct 2013 22:37:21 +0000 Subject: merge from gcc --- libiberty/ChangeLog | 10 +++++++--- libiberty/testsuite/test-expandargv.c | 3 +++ 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'libiberty') diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 7250dc1f49..3a214efb14 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2013-10-23 Gerald Pfeifer + + * testsuite/test-expandargv.c: Include unistd.h. + 2013-10-15 David Malcolm * configure.ac: If --enable-host-shared, use -fPIC. @@ -83,7 +87,7 @@ * hashtab.c (hash_pointer): Remove conditional and avoid unexecuted shift equal to wordsize. -2013-04-22 Andi Kleen +2013-04-22 Andi Kleen * hashtab.c (hash_pointer): Move to end of file and reimplement. @@ -657,12 +661,12 @@ * aclocal.m4 (AC_LANG_FUNC_LINK_TRY(C)): Delete. * configure: Regenerate. -2010-10-07 Andi Kleen +2010-10-07 Andi Kleen * configure: Regenerate. * configure.ac: Turn PR_SET_NAME check into link check. -2010-10-06 Andi Kleen +2010-10-06 Andi Kleen * Makefile.in (CFILES): Add setproctitle. (CONFIGURED_OFILES): Add setproctitle. diff --git a/libiberty/testsuite/test-expandargv.c b/libiberty/testsuite/test-expandargv.c index dff20d41da..0edd751722 100644 --- a/libiberty/testsuite/test-expandargv.c +++ b/libiberty/testsuite/test-expandargv.c @@ -40,6 +40,9 @@ #ifdef HAVE_STRING_H #include #endif +#ifdef HAVE_UNISTD_H +#include +#endif #ifndef EXIT_SUCCESS #define EXIT_SUCCESS 0 -- cgit v1.2.1