aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-28 00:00:08 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-28 00:00:08 +0000
commit8be918b7bb2abe46fab6c5f6e8ce3bac4da143ad (patch)
treee52c60e7b4424de720d2c54aee98494f2583d293 /sysdeps/generic
parent09a2231b580ea777c6bb72f6815491ae035faeea (diff)
downloadglibc-8be918b7bb2abe46fab6c5f6e8ce3bac4da143ad.tar
glibc-8be918b7bb2abe46fab6c5f6e8ce3bac4da143ad.tar.gz
glibc-8be918b7bb2abe46fab6c5f6e8ce3bac4da143ad.tar.bz2
glibc-8be918b7bb2abe46fab6c5f6e8ce3bac4da143ad.zip
Update.
* conform/data/sys/time.h-data: Allow sys/select.h. * conform/data/sys/un.h-data: Fix typo. * time/sys/time.h: Don't include all of <time.h>, just struct timeval. * sysdeps/posix/clock_getres.c: Include <time.h> instead of <sys/time.h>. * sysdeps/unix/clock_nanosleep.c: Likewise. * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise. * sysdeps/unix/i386/i586/clock_getres.c: Likewise. * sysdeps/unix/clock_gettime.c: Also include <time.h>. * sysdeps/unix/clock_settime.c: Likewise. * sysdeps/generic/pselect.c: Include <stddef.h> for NULL. * login/getutent.c: Likewise. * login/getutid.c: Likewise. * login/getutline.c: Likewise. * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/pselect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/pselect.c b/sysdeps/generic/pselect.c
index dab4d754f2..812bd75412 100644
--- a/sysdeps/generic/pselect.c
+++ b/sysdeps/generic/pselect.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -19,6 +19,7 @@
#include <errno.h>
#include <signal.h>
+#include <stddef.h> /* For NULL. */
#include <sys/time.h>
#include <sys/select.h>