Add missing fcntl.h include in some aio tests.

This commit is contained in:
Roland McGrath 2012-02-27 13:58:42 -08:00
parent 4579f81caf
commit 84ad622bbf
4 changed files with 10 additions and 7 deletions

View File

@ -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

View 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>

View 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>

View 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>