diff options
author | DJ Delorie <dj@delorie.com> | 2013-10-23 22:37:21 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2013-10-23 22:37:21 +0000 |
commit | d003ade0b11c1571abedce4238f50b7b23d42308 (patch) | |
tree | 1392ebf957beaaff958bb9ab4e717def67bf6eb7 /libiberty | |
parent | 2cec45808a2a3f4ba7fcad1a4b01f64b0e83a194 (diff) | |
download | gdb-d003ade0b11c1571abedce4238f50b7b23d42308.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 10 | ||||
-rw-r--r-- | libiberty/testsuite/test-expandargv.c | 3 |
2 files changed, 10 insertions, 3 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 7250dc1f490..3a214efb14c 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2013-10-23 Gerald Pfeifer <gerald@pfeifer.com> + + * testsuite/test-expandargv.c: Include unistd.h. + 2013-10-15 David Malcolm <dmalcolm@redhat.com> * 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 <ak@linux.intel.com> +2013-04-22 Andi Kleen <ak@linux.intel.com> * 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 <ak@linux.intel.com> +2010-10-07 Andi Kleen <ak@linux.intel.com> * configure: Regenerate. * configure.ac: Turn PR_SET_NAME check into link check. -2010-10-06 Andi Kleen <ak@linux.intel.com> +2010-10-06 Andi Kleen <ak@linux.intel.com> * Makefile.in (CFILES): Add setproctitle. (CONFIGURED_OFILES): Add setproctitle. diff --git a/libiberty/testsuite/test-expandargv.c b/libiberty/testsuite/test-expandargv.c index dff20d41daf..0edd751722b 100644 --- a/libiberty/testsuite/test-expandargv.c +++ b/libiberty/testsuite/test-expandargv.c @@ -40,6 +40,9 @@ #ifdef HAVE_STRING_H #include <string.h> #endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif #ifndef EXIT_SUCCESS #define EXIT_SUCCESS 0 |