about summary refs log tree commit diff
path: root/sysdeps/posix/getcwd.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2012-05-10 14:39:53 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-10 15:57:24 -0700
commit37233df9d1fa7a1a6ff3a72ce4f642b1a96de9ca (patch)
treef915c0fb7e61e5ed4c3c5a82b7ab3c27bc95c8c3 /sysdeps/posix/getcwd.c
parent38de94a5efbc3de186d6f287d666f74e5b4c8247 (diff)
downloadglibc-37233df9d1fa7a1a6ff3a72ce4f642b1a96de9ca.tar.gz
glibc-37233df9d1fa7a1a6ff3a72ce4f642b1a96de9ca.tar.xz
glibc-37233df9d1fa7a1a6ff3a72ce4f642b1a96de9ca.zip
Hurd: #include <kernel-features.h>
Diffstat (limited to 'sysdeps/posix/getcwd.c')
-rw-r--r--sysdeps/posix/getcwd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/posix/getcwd.c b/sysdeps/posix/getcwd.c
index 6c41977eb0..1dc45e8ee2 100644
--- a/sysdeps/posix/getcwd.c
+++ b/sysdeps/posix/getcwd.c
@@ -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)