aboutsummaryrefslogtreecommitdiff
path: root/misc/sys
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-18 23:36:58 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-18 23:36:58 +0000
commit689849878df718e0ef82a5f44b281e3629d2ade0 (patch)
treee066930374e9225548024c439ad79b909eea509a /misc/sys
parent9c777dfe8301cc0088917e35333d7db0064d68c8 (diff)
downloadglibc-689849878df718e0ef82a5f44b281e3629d2ade0.zip
glibc-689849878df718e0ef82a5f44b281e3629d2ade0.tar.gz
glibc-689849878df718e0ef82a5f44b281e3629d2ade0.tar.bz2
Update.
* time/time.h (struct timespec): Use __time_t for tv_sec element. * sysdeps/generic/inttypes.h: Define __wchar_t. Use it instead of wchar_t for function declarations and defintions. * misc/sys/select.h: Define __need_time_t before including <time.h>. Define suseconds_t if it hasn't happened yet. * iconv/gconv.h: Define __need_wchar_t before including <stddef.h>. * conform/data/sys/uio.h-data: Allow UIO_MAXIOV to be defined. * sysdeps/generic/stdint.h: Don't get definition of wchar_t from <stddef.h>. * conform/data/stddef.h-data: Remove wint_t.
Diffstat (limited to 'misc/sys')
-rw-r--r--misc/sys/select.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/sys/select.h b/misc/sys/select.h
index 8f03c73..c065113 100644
--- a/misc/sys/select.h
+++ b/misc/sys/select.h
@@ -39,11 +39,17 @@ typedef __sigset_t sigset_t;
#endif
/* Get definition of timer specification structures. */
+#define __need_time_t
#define __need_timespec
#include <time.h>
#define __need_timeval
#include <bits/time.h>
+#ifndef __suseconds_t_defined
+typedef __suseconds_t suseconds_t;
+# define __suseconds_t_defined
+#endif
+
/* The fd_set member is required to be an array of longs. */
typedef long int __fd_mask;