From 3cc1232fc2b5e35287f5af2144d5c6d990286f63 Mon Sep 17 00:00:00 2001 From: Eric Scharff Date: Mon, 3 Dec 2007 13:25:46 -0700 Subject: [PATCH] sys/wait.h should only be included when NOT compiling for win32 --- classpath/java-lang.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classpath/java-lang.cpp b/classpath/java-lang.cpp index 870cdd1639..508d0fbbf9 100644 --- a/classpath/java-lang.cpp +++ b/classpath/java-lang.cpp @@ -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__