[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Vinson Lee <vlee@xxxxxxxxxxx>

This patch fixes this build error on Linux 3.7 and older.

  CC	syscalls/msgsnd.o
syscalls/msgsnd.c:19:40: error: ‘MSG_COPY’ undeclared here (not in a function)
make: *** [syscalls/msgsnd.o] Error 1

Signed-off-by: Vinson Lee <vlee@xxxxxxxxxxx>
---
 syscalls/msgsnd.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/syscalls/msgsnd.c b/syscalls/msgsnd.c
index 13e663f..132336b 100644
--- a/syscalls/msgsnd.c
+++ b/syscalls/msgsnd.c
@@ -2,6 +2,7 @@
  * SYSCALL_DEFINE4(msgsnd, int, msqid, struct msgbuf __user *, msgp, size_t, msgsz, int, msgflg)
  */
 #include <linux/msg.h>
+#include "compat.h"
 #include "sanitise.h"
 
 struct syscall syscall_msgsnd = {
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux