struct msqid_ds {
	struct ipc_perm msg_perm;
#if _MIPSEL || __MIPSEL || __MIPSEL__
	unsigned long __msg_stime_lo;
	unsigned long __msg_stime_hi;
	unsigned long __msg_rtime_lo;
	unsigned long __msg_rtime_hi;
	unsigned long __msg_ctime_lo;
	unsigned long __msg_ctime_hi;
#else
	unsigned long __msg_stime_hi;
	unsigned long __msg_stime_lo;
	unsigned long __msg_rtime_hi;
	unsigned long __msg_rtime_lo;
	unsigned long __msg_ctime_hi;
	unsigned long __msg_ctime_lo;
#endif
	unsigned long msg_cbytes;
	msgqnum_t msg_qnum;
	msglen_t msg_qbytes;
	pid_t msg_lspid;
	pid_t msg_lrpid;
	unsigned long __unused[2];
	time_t msg_stime;
	time_t msg_rtime;
	time_t msg_ctime;
};