switch all existing 32-bit archs to 64-bit time_t
[musl] / arch / mips / bits / sem.h
index 5184eb5..fe6f094 100644 (file)
@@ -1,7 +1,7 @@
 struct semid_ds {
        struct ipc_perm sem_perm;
-       time_t sem_otime;
-       time_t sem_ctime;
+       unsigned long __sem_otime_lo;
+       unsigned long __sem_ctime_lo;
 #if __BYTE_ORDER == __LITTLE_ENDIAN
        unsigned short sem_nsems;
        char __sem_nsems_pad[sizeof(long)-sizeof(short)];
@@ -9,6 +9,8 @@ struct semid_ds {
        char __sem_nsems_pad[sizeof(long)-sizeof(short)];
        unsigned short sem_nsems;
 #endif
-       long __unused3;
-       long __unused4;
+       unsigned long __sem_otime_hi;
+       unsigned long __sem_ctime_hi;
+       time_t sem_otime;
+       time_t sem_ctime;
 };