Commit f2f200c7 authored by Paul Eggert's avatar Paul Eggert

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

for NetBSD.  Problem reported by Bruno Haible.
parent e861b114
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".
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment