summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/sys/arm/sys/param.h12
1 files changed, 10 insertions, 2 deletions
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 <machine/param.h>
+
+#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