sys/wait.h should only be included when NOT compiling for win32

This commit is contained in:
Eric Scharff 2007-12-03 13:25:46 -07:00
parent 3f8a370ba8
commit 3cc1232fc2

View File

@ -1,7 +1,6 @@
#include "math.h"
#include "stdlib.h"
#include "sys/time.h"
#include "sys/wait.h"
#include "time.h"
#include "time.h"
#include "string.h"
@ -21,6 +20,7 @@
# define SO_PREFIX ""
#else
# define SO_PREFIX "lib"
#include "sys/wait.h"
#endif
#ifdef __APPLE__