fix wait3 problem on linux

This commit is contained in:
Ron Pedde 2006-02-28 05:23:59 +00:00
parent e5dd11b090
commit d44bd674c1

View File

@ -26,6 +26,7 @@
#include <errno.h>
#include <fcntl.h>
#include <grp.h>
#include <limits.h>
#include <pthread.h>
#include <pwd.h>
#include <signal.h>
@ -33,14 +34,13 @@
#include <stdlib.h>
#include <stdio.h>
#include <syslog.h>
#include <wait.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_WAIT
#ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
#include <sys/time.h>