# HG changeset patch # User Paul Eggert # Date 1160422434 0 # Node ID a766f9c1ded380d0e884a5365d2581907baf7450 # Parent 025aac8d9ebe6e25210cc16ab9d4164774c24b49 * lib/filemode.h [HAVE_DECL_STRMODE]: Include unistd.h too, for NetBSD. Problem reported by Bruno Haible. diff -r 025aac8d9ebe -r a766f9c1ded3 ChangeLog --- a/ChangeLog Mon Oct 09 18:22:37 2006 +0000 +++ b/ChangeLog Mon Oct 09 19:33:54 2006 +0000 @@ -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 -r 025aac8d9ebe -r a766f9c1ded3 lib/filemode.h --- a/lib/filemode.h Mon Oct 09 18:22:37 2006 +0000 +++ b/lib/filemode.h Mon Oct 09 19:33:54 2006 +0000 @@ -22,7 +22,8 @@ # include # if HAVE_DECL_STRMODE -# include +# include /* FreeBSD, OpenBSD */ +# include /* NetBSD */ # else void strmode (mode_t mode, char *str); # endif