Add missing fcntl.h include in some aio tests.
authorRoland McGrath <roland@hack.frob.com>
Mon, 27 Feb 2012 21:58:42 +0000 (13:58 -0800)
committerRoland McGrath <roland@hack.frob.com>
Mon, 27 Feb 2012 21:58:42 +0000 (13:58 -0800)
ChangeLog
rt/tst-aio.c
rt/tst-aio64.c
rt/tst-aio7.c

index 7210eb7..22dd447 100644 (file)
--- 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>
        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
index 30b4567..1697cc2 100644 (file)
@@ -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>
index 4eeda5b..7648da4 100644 (file)
@@ -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>
index 327d28f..0de6088 100644 (file)
@@ -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>