Bruno Haible <[EMAIL PROTECTED]> writes: > filemode.c:171: warning: implicit declaration of function `strmode'
Thanks for reporting this. It's better to fix this in filemode.h, for the benefit of filemode's users, so I installed this into gnulib: 2006-10-09 Paul Eggert <[EMAIL PROTECTED]> * lib/filemode.h [HAVE_DECL_STRMODE]: Include unistd.h too, for NetBSD. Problem reported by Bruno Haible. --- lib/filemode.h 3 Jul 2006 08:32:46 -0000 1.6 +++ lib/filemode.h 9 Oct 2006 19:33:34 -0000 @@ -22,7 +22,8 @@ # include <sys/stat.h> # if HAVE_DECL_STRMODE -# include <string.h> +# include <string.h> /* FreeBSD, OpenBSD */ +# include <unistd.h> /* NetBSD */ # else void strmode (mode_t mode, char *str); # endif _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils