aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-26 08:54:05 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-26 08:54:05 +0000
commit1e4380f8fca21ff6ad1db1ad9bc2f7eb92fe6520 (patch)
tree18cc6a8b604a91eb4a04a20f38dbd9db361a95e1 /io
parent7cc9fcf4fdd08ab7452b5f73ecae8f9f67ae8061 (diff)
downloadglibc-1e4380f8fca21ff6ad1db1ad9bc2f7eb92fe6520.tar
glibc-1e4380f8fca21ff6ad1db1ad9bc2f7eb92fe6520.tar.gz
glibc-1e4380f8fca21ff6ad1db1ad9bc2f7eb92fe6520.tar.bz2
glibc-1e4380f8fca21ff6ad1db1ad9bc2f7eb92fe6520.zip
Update.
* io/sys/stat.h: Define S_IFSOCK for XPG6. * conform/data/fcntl.h-data: posix_madvise is not expected here.
Diffstat (limited to 'io')
-rw-r--r--io/sys/stat.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h
index 32268a0b43..a41688062e 100644
--- a/io/sys/stat.h
+++ b/io/sys/stat.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 1995-1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 1995-1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -109,7 +109,8 @@ __BEGIN_DECLS
# ifdef __S_IFLNK
# define S_IFLNK __S_IFLNK
# endif
-# if (defined __USE_BSD || defined __USE_MISC) && defined __S_IFSOCK
+# if (defined __USE_BSD || defined __USE_MISC || defined __USE_XOPEN2K) \
+ && defined __S_IFSOCK
# define S_IFSOCK __S_IFSOCK
# endif
#endif