From 934126b5180935e79aba1d1dcb8b19bb8e2326d4 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 18 Mar 2001 18:32:02 +0000 Subject: [PATCH] Considering the BeOS port didn't compile without IPC_STAT and shm_nattch, I'm betting the QNX4 port does not either ... --- src/backend/port/qnx4/ipc.h | 3 ++- src/backend/port/qnx4/shm.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/backend/port/qnx4/ipc.h b/src/backend/port/qnx4/ipc.h index 0911cc3527..3f1206d31f 100644 --- a/src/backend/port/qnx4/ipc.h +++ b/src/backend/port/qnx4/ipc.h @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/port/qnx4/Attic/ipc.h,v 1.2 2000/04/12 17:15:30 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/port/qnx4/Attic/ipc.h,v 1.3 2001/03/18 18:32:02 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -26,5 +26,6 @@ /* Control Commands. */ #define IPC_RMID 0 /* remove identifier */ +#define IPC_STAT 1 /* get shm status */ #endif /* _SYS_IPC_H */ diff --git a/src/backend/port/qnx4/shm.h b/src/backend/port/qnx4/shm.h index 6fafb22378..40fc9caa26 100644 --- a/src/backend/port/qnx4/shm.h +++ b/src/backend/port/qnx4/shm.h @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/port/qnx4/Attic/shm.h,v 1.2 2000/04/12 17:15:30 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/port/qnx4/Attic/shm.h,v 1.3 2001/03/18 18:32:02 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -28,6 +28,7 @@ extern "C" struct shmid_ds { int dummy; + int shm_nattch; }; extern void *shmat(int shmid, const void *shmaddr, int shmflg); -- 2.40.0