aboutsummaryrefslogtreecommitdiff
path: root/posix/sys
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-18 01:18:34 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-18 01:18:34 +0000
commit7707af891e521bc7c77db974bfdbeacd85ee5269 (patch)
treef1b7544e37ae019cb22768df5292e8740dd74618 /posix/sys
parent56c55d5d4a8ef51ef424cbfcb9eca2b2fa95e419 (diff)
downloadglibc-7707af891e521bc7c77db974bfdbeacd85ee5269.zip
glibc-7707af891e521bc7c77db974bfdbeacd85ee5269.tar.gz
glibc-7707af891e521bc7c77db974bfdbeacd85ee5269.tar.bz2
Update.
* posix/sys/types.h: Define type useconds_t if not done already. * posix/unistd.h: Likewise. Use this in ualarm and usleep declarations. * sysdeps/generic/bits/types.h: Define type __useconds_t. * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
Diffstat (limited to 'posix/sys')
-rw-r--r--posix/sys/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/posix/sys/types.h b/posix/sys/types.h
index be37340..7a0b382 100644
--- a/posix/sys/types.h
+++ b/posix/sys/types.h
@@ -121,6 +121,10 @@ typedef __key_t key_t;
#include <time.h>
#ifdef __USE_XOPEN
+# ifndef __useconds_t_defined
+typedef __useconds_t useconds_t;
+# define __useconds_t_defined
+# endif
typedef __suseconds_t suseconds_t;
#endif