projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.
[gnulib.git]
/
lib
/
filemode.h
diff --git
a/lib/filemode.h
b/lib/filemode.h
index
162e07a
..
5b19db2
100644
(file)
--- a/
lib/filemode.h
+++ b/
lib/filemode.h
@@
-1,9
+1,19
@@
-#ifndef PARAMS
-# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-# define PARAMS(Args) Args
-# else
-# define PARAMS(Args) ()
+#ifndef FILEMODE_H_
+
+# if HAVE_CONFIG_H
+# include <config.h>
# endif
# endif
-#endif
-void mode_string PARAMS ((short unsigned int mode, char *str));
+# include <sys/types.h>
+
+# ifndef PARAMS
+# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
+# define PARAMS(Args) Args
+# else
+# define PARAMS(Args) ()
+# endif
+# endif
+
+void mode_string PARAMS ((mode_t mode, char *str));
+
+#endif