From f9741433e1d668888fc1305f4261e98775673f60 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Thu, 28 Jul 2005 17:02:54 +0000 Subject: Add missing #include and change __kernel_time to __time. Minior WS touchup also. --- libc/sysdeps/linux/powerpc/bits/sem.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libc/sysdeps/linux/powerpc/bits/sem.h b/libc/sysdeps/linux/powerpc/bits/sem.h index 4b76185ce..6a615f154 100644 --- a/libc/sysdeps/linux/powerpc/bits/sem.h +++ b/libc/sysdeps/linux/powerpc/bits/sem.h @@ -22,6 +22,7 @@ #endif #include +#include /* Flags for `semop'. */ #define SEM_UNDO 0x1000 /* undo the operation on exit */ @@ -30,8 +31,8 @@ #define GETPID 11 /* get sempid */ #define GETVAL 12 /* get semval */ #define GETALL 13 /* get all semval's */ -#define GETNCNT 14 /* get semncnt */ -#define GETZCNT 15 /* get semzcnt */ +#define GETNCNT 14 /* get semncnt */ +#define GETZCNT 15 /* get semzcnt */ #define SETVAL 16 /* set semval */ #define SETALL 17 /* set all semval's */ @@ -43,11 +44,11 @@ struct semid_ds #if __WORDSIZE == 32 unsigned int __unused1; #endif - __kernel_time_t sem_otime; /* last semop() time */ + __time_t sem_otime; /* last semop() time */ #if __WORDSIZE == 32 unsigned int __unused2; #endif - __kernel_time_t sem_ctime; /* last time changed by semctl() */ + __time_t sem_ctime; /* last time changed by semctl() */ unsigned long int sem_nsems; /* number of semaphores in set */ unsigned long __unused3; unsigned long __unused4; -- cgit v1.2.3