summary refs log tree commit diff
path: root/sysdeps/stub/sys/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/sys/param.h')
-rw-r--r--sysdeps/stub/sys/param.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/stub/sys/param.h b/sysdeps/stub/sys/param.h
index b1ea52add9..1dafdda403 100644
--- a/sysdeps/stub/sys/param.h
+++ b/sysdeps/stub/sys/param.h
@@ -8,3 +8,7 @@
 #include <limits.h>
 
 #define MAXSYMLINKS  1
+
+/* Macros for min/max.  */
+#define MIN(a,b) (((a)<(b))?(a):(b))
+#define MAX(a,b) (((a)>(b))?(a):(b))