compat.h: add SHM_NORESERVE flag
PATCH 1/1 compat.h: add SHM_NORESERVE flag
Debian jessie MIPS build fix.
sysv-shm.c:22:3: error: 'SHM_NORESERVE' undeclared (first use in this function)
SHM_NORESERVE,
https://sourceware.org/bugzilla/show_bug.cgi?id=17930
Signed-off-by Adrien Schildknecht <[email protected]>
--- include/compat.h | 5 +++++ 1 file changed, 5 insertions(+)
include/compat.h +5 -0
@@ -1097,3 +1097,8 @@ struct kvm_get_htab_fd {#define SHM_HUGE_2MB (21 << SHM_HUGE_SHIFT)#define SHM_HUGE_1GB (30 << SHM_HUGE_SHIFT)#endif + +/* bits/shm.h */ +#ifndef SHM_NORESERVE +# define SHM_NORESERVE 010000 +#endif
Signature · 1 line
2.7.2
Quoted 5 lines · Adrien Schildknecht
Debian jessie MIPS build fix.
sysv-shm.c:22:3: error: 'SHM_NORESERVE' undeclared (first use in this function)
SHM_NORESERVE,
Applied (also the other diff) and pushed.
thanks Adrien,
Dave