summaryrefslogtreecommitdiff
path: root/src/hash/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/helper.c')
-rw-r--r--src/hash/helper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hash/helper.c b/src/hash/helper.c
index fe3f3e7..f0f5a17 100644
--- a/src/hash/helper.c
+++ b/src/hash/helper.c
@@ -22,6 +22,10 @@
#include <hashinc>
+#ifndef MIN
+#define MIN(a, b) ((a) > (b) ? (b) : (a))
+#endif
+
/* ARGSUSED */
char *
HASHEnd(HASH_CTX *ctx, char *buf)