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 <br...@clisp.org> > > 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.