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:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user