From: Paul Eggert Date: Mon, 9 Oct 2006 19:33:54 +0000 (+0000) Subject: * lib/filemode.h [HAVE_DECL_STRMODE]: Include unistd.h too, X-Git-Tag: cvs-readonly~1755 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=f2f200c7e635ebbd690f70aa69a5b6c0103132b3;p=gnulib.git * lib/filemode.h [HAVE_DECL_STRMODE]: Include unistd.h too, for NetBSD. Problem reported by Bruno Haible. --- diff --git a/ChangeLog b/ChangeLog index 32baef906..bdbd7b66b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-09 Paul Eggert + + * lib/filemode.h [HAVE_DECL_STRMODE]: Include unistd.h too, + for NetBSD. Problem reported by Bruno Haible. + 2006-10-09 Jim Meyering * lib/lchown.c: Include before "stat-macros.h". diff --git a/lib/filemode.h b/lib/filemode.h index 47167367b..f71d994e0 100644 --- a/lib/filemode.h +++ b/lib/filemode.h @@ -22,7 +22,8 @@ # include # if HAVE_DECL_STRMODE -# include +# include /* FreeBSD, OpenBSD */ +# include /* NetBSD */ # else void strmode (mode_t mode, char *str); # endif