diff --git a/newlib/libc/sys/arm/sys/param.h b/newlib/libc/sys/arm/sys/param.h index adc066e9a..9791d721f 100644 --- a/newlib/libc/sys/arm/sys/param.h +++ b/newlib/libc/sys/arm/sys/param.h @@ -3,9 +3,17 @@ #ifndef _SYS_PARAM_H # define _SYS_PARAM_H -# define HZ (100) -# define NOFILE (60) +#include + +#ifndef HZ +# define HZ (60) +#endif +#ifndef NOFILE +# define NOFILE (60) +#endif +#ifndef PATHSIZE # define PATHSIZE (1024) +#endif #define BIG_ENDIAN 4321 #define LITTLE_ENDIAN 1234