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 | 5b7a592d516e9ddf407dff799f512aa941e5f5e0 (patch) | |
tree | c86066751c2d279c3586f757b8db1d8799e8c5c4 /libiberty | |
parent | fcb52a1d81d8f931322fc6a7378b29b0338b01bf (diff) | |
download | binutils-redhat-5b7a592d516e9ddf407dff799f512aa941e5f5e0.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 7250dc1f49..3a214efb14 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 dff20d41da..0edd751722 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 |