$OpenBSD: patch-Source_kwsys_ProcessUNIX_c,v 1.5 2010/05/28 20:21:48 dcoppa Exp $ --- Source/kwsys/ProcessUNIX.c.orig Fri Apr 23 15:45:44 2010 +++ Source/kwsys/ProcessUNIX.c Fri Apr 23 15:49:42 2010 @@ -2373,7 +2373,8 @@ static pid_t kwsysProcessFork(kwsysProcess* cp, Here we define the command to call on each platform and the corresponding parsing format string. The parsing format should have two integers to store: the pid and then the ppid. */ -#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) +#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) \ + || defined(__OpenBSD__) # define KWSYSPE_PS_COMMAND "ps axo pid,ppid" # define KWSYSPE_PS_FORMAT "%d %d\n" #elif defined(__hpux) || defined(__sun__) || defined(__sgi) || defined(_AIX) \