From 67e21e1eb2366f4598f8ee483dfbacc92010a687 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Sun, 5 Nov 2000 09:08:45 +0000 Subject: - (bal) Reworked NEWS-OS and NeXT ports to extract waitpid() and setsid() into more common files --- bsd-misc.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bsd-misc.h') diff --git a/bsd-misc.h b/bsd-misc.h index 0546ef1fe..ae2b3ffff 100644 --- a/bsd-misc.h +++ b/bsd-misc.h @@ -27,6 +27,11 @@ #include "config.h" +#ifndef HAVE_SETSID +#define setsid() setpgrp(0, getpid()) +#endif /* !HAVE_SETSID */ + + #ifndef HAVE_SETENV int setenv(const char *name, const char *value, int overwrite); #endif /* !HAVE_SETENV */ -- cgit v1.2.3