diff options
-rw-r--r-- | lib/filemode.h | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/lib/filemode.h b/lib/filemode.h index 162e07a0d..5b19db236 100644 --- 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 -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 |