summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_fil_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/ip_fil_compat.h')
-rw-r--r--sys/netinet/ip_fil_compat.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netinet/ip_fil_compat.h b/sys/netinet/ip_fil_compat.h
index d9c078e47e3..97f420e12ae 100644
--- a/sys/netinet/ip_fil_compat.h
+++ b/sys/netinet/ip_fil_compat.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_fil_compat.h,v 1.17 2000/06/16 21:47:16 provos Exp $ */
+/* $OpenBSD: ip_fil_compat.h,v 1.18 2000/08/10 05:50:26 kjell Exp $ */
/*
* Copyright (C) 1993-1998 by Darren Reed.
@@ -149,6 +149,10 @@ typedef unsigned long u_32_t;
# endif
#endif /* __NetBSD__ || __OpenBSD__ || __FreeBSD__ || __sgi */
+#ifndef MAX
+#define MAX(a,b) (((a) > (b)) ? (a) : (b))
+#endif
+
/*
* Security Options for Intenet Protocol (IPSO) as defined in RFC 1108.
*