summaryrefslogtreecommitdiff
path: root/com32/libutil/sha512crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/libutil/sha512crypt.c')
-rw-r--r--com32/libutil/sha512crypt.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/com32/libutil/sha512crypt.c b/com32/libutil/sha512crypt.c
index 9ff587b8..9553ec1e 100644
--- a/com32/libutil/sha512crypt.c
+++ b/com32/libutil/sha512crypt.c
@@ -10,11 +10,14 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/param.h>
+#include <minmax.h>
#include <sys/types.h>
#include "xcrypt.h"
+#define MIN(x,y) min(x,y)
+#define MAX(x,y) max(x,y)
+
/* Structure to save state of computation between the single steps. */
struct sha512_ctx
{