aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/fileops.c4
-rw-r--r--libio/freopen.c5
-rw-r--r--libio/freopen64.c5
3 files changed, 8 insertions, 6 deletions
diff --git a/libio/fileops.c b/libio/fileops.c
index a2e8dacd77..93750f8084 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -1,5 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997-2005, 2006, 2007, 2008, 2009, 2011-2012
- Free Software Foundation, Inc.
+/* Copyright (C) 1993-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Per Bothner <bothner@cygnus.com>.
@@ -46,6 +45,7 @@
# include "../iconv/gconv_int.h"
# include <shlib-compat.h>
# include <not-cancel.h>
+# include <kernel-features.h>
#endif
#ifndef errno
extern int errno;
diff --git a/libio/freopen.c b/libio/freopen.c
index 418f412f32..025c55b655 100644
--- a/libio/freopen.c
+++ b/libio/freopen.c
@@ -1,5 +1,4 @@
-/* Copyright (C) 1993,95,96,97,98,2000,2001,2002,2003,2008,2011
- Free Software Foundation, Inc.
+/* Copyright (C) 1993-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
@@ -34,6 +33,8 @@
#include <shlib-compat.h>
#include <fd_to_filename.h>
+#include <kernel-features.h>
+
FILE*
freopen (filename, mode, fp)
const char* filename;
diff --git a/libio/freopen64.c b/libio/freopen64.c
index 7e1beeff33..24d0360625 100644
--- a/libio/freopen64.c
+++ b/libio/freopen64.c
@@ -1,5 +1,4 @@
-/* Copyright (C) 1993,1995,1996,1997,1998,2000,2001,2002, 2003, 2008, 2011
- Free Software Foundation, Inc.
+/* Copyright (C) 1993-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
@@ -33,6 +32,8 @@
#include <fd_to_filename.h>
+#include <kernel-features.h>
+
FILE *
freopen64 (filename, mode, fp)
const char* filename;