From 72e271600e4f816dd0235df9155a9596f9921555 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 13 Feb 2006 08:48:00 +0000 Subject: get_current_dir_name is GNU extension as well --- libc/sysdeps/linux/common/getdirname.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc') diff --git a/libc/sysdeps/linux/common/getdirname.c b/libc/sysdeps/linux/common/getdirname.c index 43e736120..e196d1bd9 100644 --- a/libc/sysdeps/linux/common/getdirname.c +++ b/libc/sysdeps/linux/common/getdirname.c @@ -18,6 +18,8 @@ 02111-1307 USA. */ #include + +#ifdef __USE_GNU #include #include #include @@ -62,3 +64,4 @@ get_current_dir_name (void) return getcwd ((char *) NULL, 0); } +#endif -- cgit v1.2.3