From 26926416efa504b8e40be71eb21395e1ace99dd1 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] --- src/engine/execunix.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/engine/execunix.c b/src/engine/execunix.c index 0eb03ca3a..2b297a341 100644 --- a/src/engine/execunix.c +++ b/src/engine/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