Various patches, to enable Asterisk to once again compile on Mac OS X.
[asterisk/asterisk.git] / main / poll.c
index 62e681d..fb0ccb2 100644 (file)
 
 #ifdef AST_POLL_COMPAT
 
+#ifndef MAX
+#define MAX(a,b)       a > b ? a : b
+#endif
+
 /*---------------------------------------------------------------------------*\
                             Private Functions
 \*---------------------------------------------------------------------------*/