OpenBSD fixed for lib/DtSvc.

This commit is contained in:
Pascal Stumpf
2012-08-09 22:51:52 +02:00
committed by Jon Trulson
parent 78053ff2a4
commit 185ec24999
10 changed files with 22 additions and 14 deletions

View File

@@ -43,7 +43,7 @@
#ifdef __apollo
#include "/sys5/usr/include/sys/termio.h"
#else
#include <termio.h>
#include <termios.h>
#endif
#include <errno.h>
#include <unistd.h>
@@ -989,7 +989,7 @@ _DtCmdCommandInvokerExecute (
if (commandPid == 0)
{
#if defined(__hp_osf) || defined(__osf__)
#if defined(__hp_osf) || defined(__osf__) || defined(CSRG_BASED)
setsid() ;
#else
(void) setpgrp ();