bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cleaner headers


From: Jim Meyering
Subject: Re: cleaner headers
Date: Fri, 25 Dec 2009 11:37:43 +0100

Bruno Haible wrote:
> Now that gnulib's <fcntl.h> and <stdlib.h> don't include <unistd.h> any more,
> I'm seeing this warning:
>
> openat-proc.c: In function 'openat_proc_name':
> openat-proc.c:91: warning: implicit declaration of function 'close'
>
> Jim, is it ok to apply this?
>
>
> 2009-12-24  Bruno Haible  <address@hidden>
>
>       openat: Fix warning.
>       * lib/openat-proc.c: Include <unistd.h>.
>
> *** lib/openat-proc.c.orig    Thu Dec 24 20:57:09 2009
> --- lib/openat-proc.c Thu Dec 24 20:52:05 2009
> ***************
> *** 27,32 ****
> --- 27,33 ----
>
>   #include <stdio.h>
>   #include <string.h>
> + #include <unistd.h>

Sure.  Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]