Commit adad6fd6 authored by David Woodhouse's avatar David Woodhouse

Make MAX definition conditional to make FreeBSD happy

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 79465d77
......@@ -117,7 +117,10 @@
#define SHA1_SIZE 20
#define MD5_SIZE 16
/* FreeBSD provides this in <sys/param.h> */
#ifndef MAX
#define MAX(x,y) ((x)>(y))?(x):(y)
#endif
/****************************************************************************/
struct pkt {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment