From 8ec161d05142dcebe58700484e7e04fc6b5b13e0 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 17 Feb 1997 21:08:24 +0000 Subject: [PATCH] Check for `_setsid' git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1245 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken.h | 4 ++++ lib/roken/roken.h.in | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/lib/roken/roken.h b/lib/roken/roken.h index 0c5734e4d..f9c78a444 100644 --- a/lib/roken/roken.h +++ b/lib/roken/roken.h @@ -71,6 +71,10 @@ #include "protos.h" +#if !defined(HAVE_SETSID) && defined(HAVE__SETSID) +#define setsid _setsid +#endif + #ifndef HAVE_PUTENV int putenv(const char *string); #endif diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 0c5734e4d..f9c78a444 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -71,6 +71,10 @@ #include "protos.h" +#if !defined(HAVE_SETSID) && defined(HAVE__SETSID) +#define setsid _setsid +#endif + #ifndef HAVE_PUTENV int putenv(const char *string); #endif