]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Hurd: #include <kernel-features.h>
authorThomas Schwinge <thomas@schwinge.name>
Thu, 10 May 2012 21:39:53 +0000 (14:39 -0700)
committerRoland McGrath <roland@hack.frob.com>
Thu, 10 May 2012 22:57:24 +0000 (15:57 -0700)
ChangeLog
libio/fileops.c
libio/freopen.c
libio/freopen64.c
misc/syslog.c
nscd/connections.c
nscd/netgroupcache.c
sysdeps/posix/getcwd.c

index 5e71ac62373fee7cfbe3d284bf9e3a7e87053349..279fbd6b3c4be87aef37c8c7cb1a7328acb79e3a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
+
+       * libio/fileops.c: Unconditionally include <kernel-features.h>.
+       * libio/freopen.c: Likewise.
+       * libio/freopen64.c: Likewise.
+       * misc/syslog.c: Likewise.
+       * nscd/connections.c: Likewise.
+       * nscd/netgroupcache.c: Likewise.
+       * sysdeps/posix/getcwd.c: Likewise.
+
 2012-05-10  Roland McGrath  <roland@hack.frob.com>
 
        * math/w_ilogbf.c: Add #include <limits.h>.
index a2e8dacd77449226ce48a064373e3d40a4db5c70..93750f8084ae20ce8e013d772b55a69c16e54d34 100644 (file)
@@ -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;
index 418f412f32d0ca6f897afb1deccecf0207a089e7..025c55b655581484a47e61205bb2265a4f6bc19f 100644 (file)
@@ -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;
index 7e1beeff33bca3822a2c4e1258796baff53137e2..24d03606254d66e552bce4bb9a0686ffb0c47740 100644 (file)
@@ -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;
index 57d4db9b5b4b4ff286da6bc6a421776ae47aa9c2..4e18883f50d0780e45d7d9bbd81e4e495c522f53 100644 (file)
@@ -56,6 +56,8 @@ static char sccsid[] = "@(#)syslog.c  8.4 (Berkeley) 3/18/94";
 #include <libio/iolibio.h>
 #include <math_ldbl_opt.h>
 
+#include <kernel-features.h>
+
 #define ftell(s) INTUSE(_IO_ftell) (s)
 
 static int     LogType = SOCK_DGRAM;   /* type of socket connection */
index a8f287ef3e5ba9e2dd249b81a3a0a5341ffaa5c3..77b9ac40a339ba22f5a6a68be0a5f5e3020fdd98 100644 (file)
@@ -1,5 +1,5 @@
 /* Inner loops of cache daemon.
-   Copyright (C) 1998-2007, 2008, 2009, 2011 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.
 
@@ -56,9 +56,8 @@
 #include "dbg_log.h"
 #include "selinux.h"
 #include <resolv/resolv.h>
-#ifdef HAVE_SENDFILE
-# include <kernel-features.h>
-#endif
+
+#include <kernel-features.h>
 
 
 /* Support to run nscd as an unprivileged user */
index 276e66ff449cf4bf38f420b73d49d751e8885a56..70cf9c14b3a82755ea6939fb2dd85b64848d8938 100644 (file)
@@ -1,5 +1,5 @@
 /* Cache handling for netgroup lookup.
-   Copyright (C) 2011 Free Software Foundation, Inc.
+   Copyright (C) 2011-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gmail.com>, 2011.
 
@@ -27,9 +27,8 @@
 #include "../inet/netgroup.h"
 #include "nscd.h"
 #include "dbg_log.h"
-#ifdef HAVE_SENDFILE
-# include <kernel-features.h>
-#endif
+
+#include <kernel-features.h>
 
 
 /* This is the standard reply in case the service is disabled.  */
index 6c41977eb0e67e52782df6a4d2c313f7f0c420ba..1dc45e8ee2c3c5acf1e681a0681e53e67d776f40 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1999,2011-2012 Free Software Foundation, Inc.
+/* Copyright (C) 1991-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
@@ -173,6 +173,7 @@ extern char *alloca ();
 
 #if defined _LIBC
 # include <not-cancel.h>
+# include <kernel-features.h>
 #else
 # define openat64_not_cancel_3(dfd, name, mode) openat64 (dfd, name, mode)
 # define close_not_cancel_no_status(fd) close (fd)