1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-09-01 02:34:55 +00:00

* lib/filemode.h [HAVE_DECL_STRMODE]: Include unistd.h too,

for NetBSD.  Problem reported by Bruno Haible.
This commit is contained in:
Paul Eggert
2006-10-09 19:33:54 +00:00
parent e861b114e4
commit f2f200c7e6
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
2006-10-09 Paul Eggert <eggert@cs.ucla.edu>
* lib/filemode.h [HAVE_DECL_STRMODE]: Include unistd.h too,
for NetBSD. Problem reported by Bruno Haible.
2006-10-09 Jim Meyering <jim@meyering.net>
* lib/lchown.c: Include <sys/stat.h> before "stat-macros.h".
+2 -1
View File
@@ -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