summary refs log tree commit diff
path: root/misc/subr.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/subr.h')
-rw-r--r--misc/subr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/subr.h b/misc/subr.h
index 25bca0d..e9eb088 100644
--- a/misc/subr.h
+++ b/misc/subr.h
@@ -4,7 +4,9 @@
 #include <stdio.h>
 #include <stdarg.h>
 
+#define max(x, y) ((x) >= (y) ? (x) : (y))
 #define min(x, y) ((x) <= (y) ? (x) : (y))
+
 #define SHAHEXSIZE 41
 
 int set_nonblocking(int fd);