* [PATCH] compat.h: add SHM_NORESERVE flag
@ 2016-03-10 22:56 Adrien Schildknecht
  2016-03-10 23:21 ` Dave Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Adrien Schildknecht @ 2016-03-10 22:56 UTC (permalink / raw)
  To: trinity; +Cc: Adrien Schildknecht
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 <adrien+dev@schischi.me>
---
 include/compat.h | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/include/compat.h b/include/compat.h
index 2a89744..367fed6 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -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
-- 
2.7.2
^ permalink raw reply related	[flat|nested] 2+ messages in thread
* Re: [PATCH] compat.h: add SHM_NORESERVE flag
  2016-03-10 22:56 [PATCH] compat.h: add SHM_NORESERVE flag Adrien Schildknecht
@ 2016-03-10 23:21 ` Dave Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2016-03-10 23:21 UTC (permalink / raw)
  To: Adrien Schildknecht; +Cc: trinity
On Thu, Mar 10, 2016 at 02:56:55PM -0800, Adrien Schildknecht wrote:
 > 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
Applied (also the other diff) and pushed.
thanks Adrien,
	Dave
^ permalink raw reply	[flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-10 23:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-10 22:56 [PATCH] compat.h: add SHM_NORESERVE flag Adrien Schildknecht
2016-03-10 23:21 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).