summaryrefslogtreecommitdiff
path: root/main/poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/poll.c')
-rw-r--r--main/poll.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/poll.c b/main/poll.c
index 62e681dca..fb0ccb2ac 100644
--- a/main/poll.c
+++ b/main/poll.c
@@ -83,6 +83,10 @@
#ifdef AST_POLL_COMPAT
+#ifndef MAX
+#define MAX(a,b) a > b ? a : b
+#endif
+
/*---------------------------------------------------------------------------*\
Private Functions
\*---------------------------------------------------------------------------*/