summary refs log tree commit diff
path: root/io/sys
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-07-23 07:08:19 +0000
committerUlrich Drepper <drepper@redhat.com>2004-07-23 07:08:19 +0000
commit7a80496fb1d65c1e07df8a4addc5ad77226fd61e (patch)
treeed8228e2e79cb74eac9b539f2a2e893c313b2151 /io/sys
parent3426e770832a1511f2952c791172f56b85d8e296 (diff)
downloadglibc-7a80496fb1d65c1e07df8a4addc5ad77226fd61e.tar.gz
glibc-7a80496fb1d65c1e07df8a4addc5ad77226fd61e.tar.xz
glibc-7a80496fb1d65c1e07df8a4addc5ad77226fd61e.zip
Update.
2004-07-23  Ulrich Drepper  <drepper@redhat.com>

	* posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and
	_POSIX_OPEN_MAX.  Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX,
	_POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX.
	Reported by Andrew Josey.

	* include/features.h: Document _POSIX_C_SOURCE == 200112L.

	* grp/grp.h: Define gid_t if __USE_XOPEN2K is defined.
	* pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined.
	* io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t,
	off_t, time_t, and uid_t if __USE_XOPEN2K is defined.
	* signal/signal.h: Define pid_t if __USE_XOPEN2K is defined.
	* posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and
	useconds_t if __USE_XOPEN2K is defined.
	* io/utime.h: Define time_t if __USE_XOPEN2K is defined.
	* libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined.
Diffstat (limited to 'io/sys')
-rw-r--r--io/sys/stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h
index 29e9e625ff..e71006a43d 100644
--- a/io/sys/stat.h
+++ b/io/sys/stat.h
@@ -28,7 +28,7 @@
 #include <bits/types.h>		/* For __mode_t and __dev_t.  */
 
 #if defined __USE_XOPEN || defined __USE_MISC
-# ifdef __USE_XOPEN
+# if defined __USE_XOPEN || defined __USE_XOPEN2K
 #  define __need_time_t
 # endif
 # ifdef __USE_MISC
@@ -37,7 +37,7 @@
 # include <time.h>		/* For time_t resp. timespec.  */
 #endif
 
-#ifdef __USE_XOPEN
+#if defined __USE_XOPEN || defined __USE_XOPEN2K
 /* The Single Unix specification says that some more types are
    available here.  */
 # ifndef __dev_t_defined