summaryrefslogtreecommitdiff
path: root/kerberosIV/kadm/kadm_stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'kerberosIV/kadm/kadm_stream.c')
-rw-r--r--kerberosIV/kadm/kadm_stream.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kerberosIV/kadm/kadm_stream.c b/kerberosIV/kadm/kadm_stream.c
index e06d0fefd0a..58f53cce124 100644
--- a/kerberosIV/kadm/kadm_stream.c
+++ b/kerberosIV/kadm/kadm_stream.c
@@ -123,6 +123,10 @@ vts_long(u_int32_t dat, u_char **st, int loc)
return 4;
}
+#ifndef min
+#define min(a,b) (a < b ? a : b)
+#endif
+
int
stv_string(u_char *st, /* base pointer to the stream */
char *dat, /* a string to read from the stream */