From 9cb589939cdbfb2fe273bef3fe557a9a162ddd73 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 15 Dec 2012 00:43:27 -0500 Subject: [PATCH] add some missing macros to sys/shm.h these are not specified in the standard, but in the reserved namespace, so there is no problem with defining them unconditionally. --- include/sys/shm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/sys/shm.h b/include/sys/shm.h index ce3029f5..bca6ed62 100644 --- a/include/sys/shm.h +++ b/include/sys/shm.h @@ -16,6 +16,9 @@ extern "C" { #include #include +#define SHM_R 0400 +#define SHM_W 0200 + #define SHM_RDONLY 010000 #define SHM_RND 020000 #define SHM_REMAP 040000