diff options
author | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-01 16:57:47 +0000 |
---|---|---|
committer | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-01 16:57:47 +0000 |
commit | d709d178061ffb9f705c4fa32382588e416a7899 (patch) | |
tree | 3e36a4a8beb3b58cf184f8a0c86fa744dc2ec475 /lto-plugin/lto-plugin.c | |
parent | ce9ec84194a1869a8eb4180b6eafd6b432a23769 (diff) | |
download | gcc-d709d178061ffb9f705c4fa32382588e416a7899.tar.gz |
2010-12-01 Kai Tietz <kai.tietz@onevision.com>
* config.h.in: Regenerated.
* configure: Regenerated.
* Makefile.in: Regenerated.
* configure.ac (AC_CHECK_HEADERS): Check for sys/wait.h.
* lto-plugin.c: Include sys/wait.h conditionally.
* aclocal.m4: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167343 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'lto-plugin/lto-plugin.c')
-rw-r--r-- | lto-plugin/lto-plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c index d2830283f6f..d6eb7eee92f 100644 --- a/lto-plugin/lto-plugin.c +++ b/lto-plugin/lto-plugin.c @@ -47,7 +47,9 @@ along with this program; see the file COPYING3. If not see #include <unistd.h> #include <fcntl.h> #include <sys/types.h> +#ifdef HAVE_SYS_WAIT_H #include <sys/wait.h> +#endif #include <libiberty.h> #include <hashtab.h> #include "../gcc/lto/common.h" |