fix mips sysv ipc bits headers
[musl] / arch / mips / bits / msg.h
index 3db8576..bfe2b3a 100644 (file)
@@ -1,12 +1,21 @@
 struct msqid_ds
 {
        struct ipc_perm msg_perm;
+#if _MIPSEL || __MIPSEL || __MIPSEL__
        time_t msg_stime;
        int __unused1;
        time_t msg_rtime;
        int __unused2;
        time_t msg_ctime;
        int __unused3;
+#else
+       int __unused1;
+       time_t msg_stime;
+       int __unused2;
+       time_t msg_rtime;
+       int __unused3;
+       time_t msg_ctime;
+#endif
        unsigned long msg_cbytes;
        msgqnum_t msg_qnum;
        msglen_t msg_qbytes;