OpenBSD fixed for lib/DtSvc.
This commit is contained in:
committed by
Jon Trulson
parent
78053ff2a4
commit
185ec24999
@@ -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 ();
|
||||
|
||||
@@ -104,6 +104,8 @@ extern void _DtDtsSeqReset(void);
|
||||
extern int _DtDtsNextDCSeq(void);
|
||||
extern int _DtDtsNextDASeq(void);
|
||||
|
||||
char **_DtsDbListDb(void);
|
||||
|
||||
int use_in_memory_db = False;
|
||||
|
||||
static void
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <values.h>
|
||||
#include <sys/mman.h>
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
@@ -59,6 +58,10 @@
|
||||
* On HP MAXINT is defined in both <values.h> and <sys/param.h>
|
||||
*/
|
||||
#undef MAXINT
|
||||
#elif defined(CSRG_BASED)
|
||||
#define MAXINT INT_MAX
|
||||
#else
|
||||
#include <values.h>
|
||||
#endif
|
||||
#include <sys/param.h>
|
||||
#include <sys/errno.h>
|
||||
|
||||
Reference in New Issue
Block a user