summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-12-15 00:43:27 -0500
committerRich Felker <dalias@aerifal.cx>2012-12-15 00:43:27 -0500
commit9cb589939cdbfb2fe273bef3fe557a9a162ddd73 (patch)
tree880addb2c0b94cbced04e9b7422720af3462edb7 /include
parentd50955620ff2eaa4c0aa87bb51b91d63ac8d7b94 (diff)
downloadmusl-9cb589939cdbfb2fe273bef3fe557a9a162ddd73.tar.gz
musl-9cb589939cdbfb2fe273bef3fe557a9a162ddd73.tar.bz2
musl-9cb589939cdbfb2fe273bef3fe557a9a162ddd73.tar.xz
musl-9cb589939cdbfb2fe273bef3fe557a9a162ddd73.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/sys/shm.h3
1 files changed, 3 insertions, 0 deletions
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 <sys/ipc.h>
#include <bits/shm.h>
+#define SHM_R 0400
+#define SHM_W 0200
+
#define SHM_RDONLY 010000
#define SHM_RND 020000
#define SHM_REMAP 040000