aboutsummaryrefslogtreecommitdiff
path: root/rt
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 /rt
parent4579f81caf7fbfd17db43699e6352a8e4c26421f (diff)
downloadglibc-84ad622bbf4b1c22f68414532f5a8a88557bf9bd.zip
glibc-84ad622bbf4b1c22f68414532f5a8a88557bf9bd.tar.gz
glibc-84ad622bbf4b1c22f68414532f5a8a88557bf9bd.tar.bz2
Add missing fcntl.h include in some aio tests.
Diffstat (limited to 'rt')
-rw-r--r--rt/tst-aio.c3
-rw-r--r--rt/tst-aio64.c3
-rw-r--r--rt/tst-aio7.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/rt/tst-aio.c b/rt/tst-aio.c
index 30b4567..1697cc2 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 4eeda5b..7648da4 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 327d28f..0de6088 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>