about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-02-27 13:58:42 -0800
committerRoland McGrath <roland@hack.frob.com>2012-02-27 13:58:42 -0800
commit84ad622bbf4b1c22f68414532f5a8a88557bf9bd (patch)
tree6d0b6f3360c29f54f77916923679ef8dbf852ead
parent4579f81caf7fbfd17db43699e6352a8e4c26421f (diff)
downloadglibc-84ad622bbf4b1c22f68414532f5a8a88557bf9bd.tar.gz
glibc-84ad622bbf4b1c22f68414532f5a8a88557bf9bd.tar.xz
glibc-84ad622bbf4b1c22f68414532f5a8a88557bf9bd.zip
Add missing fcntl.h include in some aio tests.
-rw-r--r--ChangeLog8
-rw-r--r--rt/tst-aio.c3
-rw-r--r--rt/tst-aio64.c3
-rw-r--r--rt/tst-aio7.c3
4 files changed, 10 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 7210eb70af..22dd447751 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2012-02-27  Roland McGrath  <roland@hack.frob.com>
 
+	* rt/tst-aio.c: Include <fcntl.h>.
+	* rt/tst-aio7.c: Likewise.
+	* rt/tst-aio64.c: Likewise.
+
 	* stdio-common/tst-fmemopen.c (main): Remove spurious const.
 
 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
@@ -14,12 +18,8 @@
 	Change to 2.6.19.
 	* sysdeps/unix/sysv/linux/configure: Regenerated.
 
-2012-02-27  Joseph Myers  <joseph@codesourcery.com>
-
 	* manual/llio.texi (fclean): Remove documentation.
 
-2012-02-27  Joseph Myers  <joseph@codesourcery.com>
-
 	* manual/Makefile (libc-texi-generated): New variable.  Include
 	version.texi.
 	(libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
diff --git a/rt/tst-aio.c b/rt/tst-aio.c
index 30b45672d0..1697cc28af 100644
--- a/rt/tst-aio.c
+++ b/rt/tst-aio.c
@@ -1,5 +1,5 @@
 /* Tests for AIO in librt.
-   Copyright (C) 1998,2000,02 Free Software Foundation, Inc.
+   Copyright (C) 1998-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -20,6 +20,7 @@
 #include <aio.h>
 #include <errno.h>
 #include <error.h>
+#include <fcntl.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
diff --git a/rt/tst-aio64.c b/rt/tst-aio64.c
index 4eeda5b15b..7648da46fd 100644
--- a/rt/tst-aio64.c
+++ b/rt/tst-aio64.c
@@ -1,5 +1,5 @@
 /* Tests for 64bit AIO in librt.
-   Copyright (C) 1998,99,2000,02 Free Software Foundation, Inc.
+   Copyright (C) 1998-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -21,6 +21,7 @@
 #include <aio.h>
 #include <errno.h>
 #include <error.h>
+#include <fcntl.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
diff --git a/rt/tst-aio7.c b/rt/tst-aio7.c
index 327d28f1bf..0de6088cc0 100644
--- a/rt/tst-aio7.c
+++ b/rt/tst-aio7.c
@@ -1,5 +1,5 @@
 /* Test for AIO POSIX compliance.
-   Copyright (C) 2001,02, 03 Free Software Foundation, Inc.
+   Copyright (C) 2001-2012 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
@@ -19,6 +19,7 @@
 #include <aio.h>
 #include <error.h>
 #include <errno.h>
+#include <fcntl.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>