From 3f6b5baef62a782052a761d29880fdad73fbdfd7 Mon Sep 17 00:00:00 2001 From: Toon Knapen Date: Thu, 10 Jul 2003 10:59:26 +0000 Subject: [PATCH] added include unistd.h and wait.h for sunpro [SVN r19019] --- historic/jam/src/execunix.c | 6 ++++++ jam_src/execunix.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/historic/jam/src/execunix.c b/historic/jam/src/execunix.c index 0eb03ca3a..2b297a341 100644 --- a/historic/jam/src/execunix.c +++ b/historic/jam/src/execunix.c @@ -9,6 +9,12 @@ # include "execcmd.h" # include + +#if defined(sun) || defined(__sun) +#include // need to include unistd.h on sun for the vfork prototype +#include +#endif + # ifdef USE_EXECUNIX # ifdef NO_VFORK diff --git a/jam_src/execunix.c b/jam_src/execunix.c index 0eb03ca3a..2b297a341 100644 --- a/jam_src/execunix.c +++ b/jam_src/execunix.c @@ -9,6 +9,12 @@ # include "execcmd.h" # include + +#if defined(sun) || defined(__sun) +#include // need to include unistd.h on sun for the vfork prototype +#include +#endif + # ifdef USE_EXECUNIX # ifdef NO_VFORK