$NetBSD: patch-ai,v 1.1.1.1 2004/05/20 11:09:17 hubertf Exp $ --- packages//xpce/src/unx/process.c.orig 2002-02-01 16:05:02.000000000 +0100 +++ packages//xpce/src/unx/process.c @@ -45,7 +45,13 @@ simulated using CreatePipe() and CreateP reduced to the facility to terminate the inferior process. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ -#ifdef __unix__ +/* that's not passed down, and pulling in src/pl-incl.h doesn't work + for some reason - HF */ +#ifdef __NetBSD__ +# define __unix__ 1 +#endif + +#if defined(__unix__) #define HAVE_FORK 1 #define HAVE_PTYS 1 #define HAVE_KILL 1