From 1eaf39576819e5d3c75264bb6600055f905c1808 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 24 Jan 2003 17:54:31 +0000 Subject: A few more needed updates --- libc/sysdeps/linux/sparc/bits/types.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/sparc/bits/types.h') diff --git a/libc/sysdeps/linux/sparc/bits/types.h b/libc/sysdeps/linux/sparc/bits/types.h index 0c7cfbea7..2a1dfd5a3 100644 --- a/libc/sysdeps/linux/sparc/bits/types.h +++ b/libc/sysdeps/linux/sparc/bits/types.h @@ -118,7 +118,11 @@ typedef int __timer_t; typedef int __key_t; /* Used in `struct shmid_ds'. */ -typedef __kernel_ipc_pid_t __ipc_pid_t; +#if __WORDSIZE == 64 +typedef int __ipc_pid_t; +#else +typedef unsigned short int __ipc_pid_t; +#endif /* Type to represent block size. */ @@ -154,7 +158,7 @@ typedef unsigned int __socklen_t; /* Now add the thread types. */ -#if defined __USE_POSIX199506 || defined __USE_UNIX98 +#if defined __UCLIBC_HAS_THREADS__ && (defined __USE_POSIX199506 || defined __USE_UNIX98) # include #endif -- cgit v1.2.3