# HG changeset patch # User J. Ali Harlow # Date 1231427881 0 # Node ID 2af301268803eef263d314bc1f202675e5c237d4 # Parent d675c5ac6d0746e17c67b78bdc504f07ce2970ef Only include sys/wait.h on platforms that have it. diff -r d675c5ac6d07 -r 2af301268803 configure.ac --- a/configure.ac Thu Jan 08 15:08:08 2009 +0000 +++ b/configure.ac Thu Jan 08 15:18:01 2009 +0000 @@ -22,6 +22,7 @@ gl_EARLY AM_PROG_CC_STDC AC_HEADER_STDC +AC_HEADER_SYS_WAIT AC_CHECK_HEADERS([sys/mman.h]) gl_INIT AC_CHECK_FUNCS([symlink chroot]) diff -r d675c5ac6d07 -r 2af301268803 librazor/rpm.c --- a/librazor/rpm.c Thu Jan 08 15:08:08 2009 +0000 +++ b/librazor/rpm.c Thu Jan 08 15:18:01 2009 +0000 @@ -26,7 +26,9 @@ #include #include #include +#if HAVE_SYS_WAIT_H #include +#endif #include #include #include