aboutsummaryrefslogtreecommitdiff
path: root/lto-plugin/lto-plugin.c
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2010-12-01 16:57:47 +0000
committerKai Tietz <ktietz@gcc.gnu.org>2010-12-01 17:57:47 +0100
commita2254c5d78494bdbeb40e0c955aa8e0cb5d5ab84 (patch)
tree3e36a4a8beb3b58cf184f8a0c86fa744dc2ec475 /lto-plugin/lto-plugin.c
parentb01890ffd36bdd210e37b212b86eb3548ab325b6 (diff)
downloadgcc-a2254c5d78494bdbeb40e0c955aa8e0cb5d5ab84.zip
gcc-a2254c5d78494bdbeb40e0c955aa8e0cb5d5ab84.tar.gz
gcc-a2254c5d78494bdbeb40e0c955aa8e0cb5d5ab84.tar.bz2
config.h.in: Regenerated.
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. From-SVN: r167343
Diffstat (limited to 'lto-plugin/lto-plugin.c')
-rw-r--r--lto-plugin/lto-plugin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c
index d283028..d6eb7ee 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"