X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxreadlink.h;h=fe608a4fa528b47ddfe947706e5c21f0addc7f0f;hb=34a0e456e514ba572223248a746ea3aa529b3e1d;hp=3eda90f6f62264e8ebd036591ff74d8960664c17;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/lib/xreadlink.h b/lib/xreadlink.h index 3eda90f6f..fe608a4fa 100644 --- a/lib/xreadlink.h +++ b/lib/xreadlink.h @@ -1,6 +1,7 @@ /* Reading symbolic links without size limitation. - Copyright (C) 2001, 2003, 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 2001, 2003-2004, 2007, 2009-2011 Free Software Foundation, + Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,6 +18,8 @@ /* Written by Jim Meyering */ -#include - extern char *xreadlink (char const *filename); + +#if GNULIB_XREADLINKAT +extern char *xreadlinkat (int fd, char const *filename); +#endif