projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* lib/filemode.h [HAVE_DECL_STRMODE]: Include unistd.h too,
[gnulib.git]
/
lib
/
filemode.h
diff --git
a/lib/filemode.h
b/lib/filemode.h
index
4716736
..
f71d994
100644
(file)
--- a/
lib/filemode.h
+++ b/
lib/filemode.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