diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-07-09 13:42:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-07-09 13:42:26 +0000 |
commit | 6077fe6e4d860f5fc53c49a4266d50437f3a2817 (patch) | |
tree | 6d32d596c22d409fe3615d7d5980a56315317d69 /io/sys | |
parent | 4bae55673314ecad6127cc156b1e5e5bb3c88b57 (diff) | |
download | glibc-6077fe6e4d860f5fc53c49a4266d50437f3a2817.tar.gz |
Update.
1998-07-09 13:39 Ulrich Drepper <drepper@cygnus.com>
* Versions: Add __pthread_mutexattr_gettype and
__pthread_mutexattr_settype.
* lockfile.c: Use __pthread_mutexattr_settype instead of
__pthread_mutexattr_setkind_np.
* mutex.c: Define __pthread_mutexattr_gettype and
__pthread_mutexattr_settype.
* weak.c: Likewise.
Diffstat (limited to 'io/sys')
-rw-r--r-- | io/sys/stat.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h index 0847c0c7b8..ab27f7c5fc 100644 --- a/io/sys/stat.h +++ b/io/sys/stat.h @@ -27,7 +27,10 @@ #include <bits/types.h> /* For __mode_t and __dev_t. */ -#ifdef __USE_UNIX98 +#ifdef __USE_XOPEN +# define __need_time_t +# include <time.h> /* For time_t. */ + /* The Single Unix specification says that some more types are available here. */ # ifndef dev_t @@ -72,7 +75,9 @@ typedef __off64_t off_t; typedef __uid_t uid_t; # define uid_t uid_t # endif +#endif /* X/Open */ +#ifdef __USE_UNIX98 # ifndef pid_t typedef __pid_t pid_t; # define pid_t pid_t @@ -83,7 +88,7 @@ __BEGIN_DECLS #include <bits/stat.h> -#if defined __USE_BSD || defined __USE_MISC || defined __USE_UNIX98 +#if defined __USE_BSD || defined __USE_MISC || defined __USE_XOPEN # define S_IFMT __S_IFMT # define S_IFDIR __S_IFDIR # define S_IFCHR __S_IFCHR |