patch-2.3.39 linux/include/linux/msg.h

Next file: linux/include/linux/ncp_fs.h
Previous file: linux/include/linux/isapnp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.38/linux/include/linux/msg.h linux/include/linux/msg.h
@@ -11,6 +11,7 @@
 #define MSG_NOERROR     010000  /* no error if message is too big */
 #define MSG_EXCEPT      020000  /* recv any msg except of specified type.*/
 
+/* Obsolete, used only for backwards compatibility and libc5 compiles */
 struct msqid_ds {
 	struct ipc_perm msg_perm;
 	struct msg *msg_first;		/* first message on queue,unused  */
@@ -26,6 +27,9 @@
 	__kernel_ipc_pid_t msg_lspid;	/* pid of last msgsnd */
 	__kernel_ipc_pid_t msg_lrpid;	/* last receive pid */
 };
+
+/* Include the definition of msqid64_ds */
+#include <asm/msgbuf.h>
 
 /* message buffer for msgsnd and msgrcv calls */
 struct msgbuf {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)