initial illumos port

This commit is contained in:
Peter Tribble
2014-03-21 16:37:00 -07:00
committed by Jon Trulson
parent 3c14b8b5ce
commit 468d576030
48 changed files with 117 additions and 71 deletions

View File

@@ -38,7 +38,7 @@
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#include <unistd.h>
#else
#if !defined(USL) && !defined(__uxp__)
#if !defined(USL) && !defined(__uxp__) && !defined(sun)
#include <osfcn.h>
#endif
#endif

View File

@@ -38,7 +38,7 @@
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#include <unistd.h>
#else
#if !defined(USL) && !defined(__uxp__)
#if !defined(USL) && !defined(__uxp__) && !defined(sun)
#include <osfcn.h>
#endif
#endif

View File

@@ -58,7 +58,7 @@ typedef int Bool;
extern char *ProgramName;
#if !defined(linux) && !defined(CSRG_BASED)
#if !defined(linux) && !defined(CSRG_BASED) && !defined(sun)
extern char *malloc(), *realloc();
#endif
int process_command(), auth_initialize(), auth_finalize();

View File

@@ -38,6 +38,9 @@
#define _DB_SERVER_GLOBALS_H
#include <limits.h>
#if !defined(NGROUPS)
#define NGROUPS NGROUPS_MAX
#endif
#if defined(OPT_GARBAGE_THREADS)
#include <synch.h>

View File

@@ -37,10 +37,10 @@
#include <stdlib.h>
#include <sys/param.h>
#include <sys/stat.h>
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#if defined(__osf__) || defined(linux) || defined(sun) || defined(CSRG_BASED)
#include <unistd.h>
#else
#if !defined(USL) && !defined(__uxp__)
#if !defined(USL) && !defined(__uxp__) && !defined(sun)
#include <osfcn.h>
#endif
#endif

View File

@@ -33,7 +33,7 @@
*/
#include <errno.h>
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <unistd.h>
#else
#ifndef USL

View File

@@ -32,7 +32,7 @@
*
*/
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED) || defined(sun)
#include <unistd.h>
#else
#if defined (USL) || defined(__uxp__)