summaryrefslogtreecommitdiff
path: root/sysdeps/pthread/aio_fsync.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-02-27 20:21:36 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2012-02-27 20:27:41 +0100
commit12e5c3b9e513e61b48284603f631bb8ce3b95fc0 (patch)
treedf6b0fd9d9cca67e43e035193bd39805dd349b64 /sysdeps/pthread/aio_fsync.c
parentba63ba088227987c8215e93f7fd3e9a4e08abce3 (diff)
downloadglibc-12e5c3b9e513e61b48284603f631bb8ce3b95fc0.tar.gz
Add missing headers
Diffstat (limited to 'sysdeps/pthread/aio_fsync.c')
-rw-r--r--sysdeps/pthread/aio_fsync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/pthread/aio_fsync.c b/sysdeps/pthread/aio_fsync.c
index 1fc39b9ac8..046e25c171 100644
--- a/sysdeps/pthread/aio_fsync.c
+++ b/sysdeps/pthread/aio_fsync.c
@@ -1,5 +1,5 @@
/* Synchronize I/O in given file descriptor.
- Copyright (C) 1997, 1999, 2002, 2005 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999, 2002, 2005, 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -28,6 +28,7 @@
/* And undo the hack. */
#undef aio_fsync64
#include <errno.h>
+#include <fcntl.h>
#include <aio_misc.h>