$OpenBSD: patch-src_input_libreal_real_c,v 1.1.1.1 2006/03/24 22:43:41 jakemsr Exp $
--- src/input/libreal/real.c.orig	Thu Jan  5 00:55:43 2006
+++ src/input/libreal/real.c	Thu Jan  5 00:56:17 2006
@@ -50,8 +50,9 @@ const unsigned char xor_table[] = {
 #define BE_32C(x,y) do { *(uint32_t *)(x) = be2me_32((y)); } while(0)
 #define LE_32C(x,y) do { *(uint32_t *)(x) = le2me_32((y)); } while(0)
 
+#ifndef MAX
 #define MAX(x,y) ((x>y) ? x : y)
-
+#endif
 
 static void hash(char *field, char *param) {
 
