aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-04-27 02:56:57 +0000
committerUlrich Drepper <drepper@redhat.com>2006-04-27 02:56:57 +0000
commitb8c31ac16178e6f86b2dea8ba8e535339f545089 (patch)
tree6dac65cf8155f4c62fe6bf7f1bec96462c52e545
parent16a1d952b632a35513a88ba3d97a7ab9a291060b (diff)
downloadglibc-b8c31ac16178e6f86b2dea8ba8e535339f545089.zip
glibc-b8c31ac16178e6f86b2dea8ba8e535339f545089.tar.gz
glibc-b8c31ac16178e6f86b2dea8ba8e535339f545089.tar.bz2
Allow inclusion from <fcntl.h>.
-rw-r--r--sysdeps/unix/sysv/linux/bits/uio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/uio.h b/sysdeps/unix/sysv/linux/bits/uio.h
index a3608b6..4113b53 100644
--- a/sysdeps/unix/sysv/linux/bits/uio.h
+++ b/sysdeps/unix/sysv/linux/bits/uio.h
@@ -16,7 +16,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#ifndef _SYS_UIO_H
+#if !defined _SYS_UIO_H && !defined _FCNTL_H
# error "Never include <bits/uio.h> directly; use <sys/uio.h> instead."
#endif