> Use #ifdef HAVE_UNISTD_H instead. There are many examples in > libiberty. > > Ian
Thanks Ian, that worked. --- /src/orig/gcc-4.5.0/libiberty/pex-common.h 2009-04-13 03:45:58.000000000 -0700 +++ /src/gcc-4.5.0/libiberty/pex-common.h 2010-05-04 06:43:24.000000000 -0700 @@ -31,6 +31,9 @@ #if !defined(pid_t) && defined(HAVE_SYS_TYPES_H) #include <sys/types.h> #endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif #define install_error_msg "installation problem, cannot exec `%s'" Perhaps someone can apply it.. Sorry, not me. - Jay