summaryrefslogtreecommitdiffstats
path: root/9/platforms/android-19/arch-mips64/usr/include/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to '9/platforms/android-19/arch-mips64/usr/include/semaphore.h')
-rw-r--r--9/platforms/android-19/arch-mips64/usr/include/semaphore.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/9/platforms/android-19/arch-mips64/usr/include/semaphore.h b/9/platforms/android-19/arch-mips64/usr/include/semaphore.h
index 30e3123..7ae3c3a 100644
--- a/9/platforms/android-19/arch-mips64/usr/include/semaphore.h
+++ b/9/platforms/android-19/arch-mips64/usr/include/semaphore.h
@@ -33,10 +33,13 @@
__BEGIN_DECLS
typedef struct {
- volatile unsigned int count;
+ volatile unsigned int count;
+#ifdef __LP64__
+ int __reserved[3];
+#endif
} sem_t;
-#define SEM_FAILED NULL
+#define SEM_FAILED NULL
extern int sem_init(sem_t *sem, int pshared, unsigned int value);