On 01/02/15 20:40, Andreas Gruenbacher wrote:
> Reported at https://savannah.gnu.org/bugs/index.php?44151:
> * lib/symlinkat.c: Add <sys/stat.h> for fstatat() and string.h for strlen().
> ---
>  lib/symlinkat.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/lib/symlinkat.c b/lib/symlinkat.c
> index ce10d94..ec85114 100644
> --- a/lib/symlinkat.c
> +++ b/lib/symlinkat.c
> @@ -18,8 +18,10 @@
>  
>  #include <config.h>
>  
> +#include <sys/stat.h>
>  #include <unistd.h>
>  #include <errno.h>
> +#include <string.h>
>  
>  #if HAVE_SYMLINKAT
>  # undef symlinkat
> 

I moved the includes within the HAVE_SYMLINKAT section, and pushed.
http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=b650986cb

thanks,
Pádraig.

Reply via email to