diff options
| author | David Schultz <das@FreeBSD.org> | 2005-04-02 12:33:36 +0000 |
|---|---|---|
| committer | David Schultz <das@FreeBSD.org> | 2005-04-02 12:33:36 +0000 |
| commit | 0d892b4ac4729214b41a82983e35282b4c0346a1 (patch) | |
| tree | 246cb16e7180fb1607fb8c06a336d1e13b104615 | |
| parent | e616f979b8ce0c7de3757422f54604d1ce32f378 (diff) | |
Notes
| -rw-r--r-- | sys/sys/shm.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/sys/shm.h b/sys/sys/shm.h index ced7aff7071e..0e6b86b9681d 100644 --- a/sys/sys/shm.h +++ b/sys/sys/shm.h @@ -39,7 +39,9 @@ #ifndef _SYS_SHM_H_ #define _SYS_SHM_H_ +#include <sys/cdefs.h> #include <sys/ipc.h> +#include <sys/_types.h> #define SHM_RDONLY 010000 /* Attach read-only (else read-write) */ #define SHM_RND 020000 /* Round attach address to SHMLBA */ @@ -58,6 +60,21 @@ #define SHM_STAT 13 #define SHM_INFO 14 +#ifndef _PID_T_DECLARED +typedef __pid_t pid_t; +#define _PID_T_DECLARED +#endif + +#ifndef _TIME_T_DECLARED +typedef __time_t time_t; +#define _TIME_T_DECLARED +#endif + +#ifndef _SIZE_T_DECLARED +typedef __size_t size_t; +#define _SIZE_T_DECLARED +#endif + struct shmid_ds { struct ipc_perm shm_perm; /* operation permission structure */ int shm_segsz; /* size of segment in bytes */ |
