diff options
| author | Bryan Henderson <bryanh@giraffe.netgate.net> | 1997-01-13 03:54:48 +0000 |
|---|---|---|
| committer | Bryan Henderson <bryanh@giraffe.netgate.net> | 1997-01-13 03:54:48 +0000 |
| commit | 6ece8a8d0b85679f8a1f14afd27a5b8afb4fd8c6 (patch) | |
| tree | 2dc8e7ecc3c760bc621c315a176129e82a926465 /src/include | |
| parent | 0d3bf78e0b23a876de558f7d11f12350d7fa673a (diff) | |
Part of patch to make a working nextstep port.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/config.h | 29 | ||||
| -rw-r--r-- | src/include/storage/ipc.h | 10 |
2 files changed, 28 insertions, 11 deletions
diff --git a/src/include/config.h b/src/include/config.h index 74756b6276e..a44b72d49a0 100644 --- a/src/include/config.h +++ b/src/include/config.h @@ -14,6 +14,10 @@ #define TERMIOS_H_LOCATION <sys/termios.h> #endif +#if !defined(nextstep) +#define USE_VALUES_H +#endif + #define HAVE_MEMMOVE #if defined(aix) @@ -138,16 +142,29 @@ typedef unsigned char slock_t; #endif -/* does anybody use this? */ -#if defined(next) +#if defined(nextstep) +# include <sys/ioctl.h> # if defined(__STRICT_ANSI__) # define isascii(c) ((unsigned)(c)<=0177) # endif -# define USE_LIMITS_H -# define JMP_BUF + extern char* strdup (const char* string); +# ifndef _POSIX_SOURCE + typedef unsigned short mode_t; + typedef int sigset_t; +# define SIG_BLOCK 00 +# define SIG_UNBLOCK 01 +# define SIG_SETMASK 02 +# define NO_SIGACTION +# define NO_SETSID +# define NO_SIGPROCMASK # define NEED_SIG_JMP -# define SB_PAD 56 - typedef struct mutex slock_t; +# endif + +# define USE_LIMITS_H +# define JMP_BUF +# define SB_PAD 56 +# define NO_WAITPID + typedef struct mutex slock_t; #endif #if defined(sequent) diff --git a/src/include/storage/ipc.h b/src/include/storage/ipc.h index 85f24cecb27..15e9650ffe8 100644 --- a/src/include/storage/ipc.h +++ b/src/include/storage/ipc.h @@ -6,21 +6,21 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: ipc.h,v 1.11 1996/12/04 03:06:29 bryanh Exp $ + * $Id: ipc.h,v 1.12 1997/01/13 03:54:48 bryanh Exp $ * * NOTES * This file is very architecture-specific. This stuff should actually * be factored into the port/ directories. * + * Some files that would normally need to include only sys/ipc.h must + * instead included this file because on Ultrix, sys/ipc.h is not designed + * to be included multiple times. This file (by virtue of the ifndef IPC_H) + * is. *------------------------------------------------------------------------- */ #ifndef IPC_H #define IPC_H -#ifndef _IPC_ -#define _IPC_ -#endif - #include <sys/types.h> #include <sys/ipc.h> /* For IPC_PRIVATE */ |
