aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-io.c')
-rw-r--r--camel/camel-io.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/camel-io.c b/camel/camel-io.c
index 88ddcf692d..df831162ba 100644
--- a/camel/camel-io.c
+++ b/camel/camel-io.c
@@ -35,6 +35,10 @@
#include "camel-operation.h"
+#ifndef MAX
+#define MAX(a,b) ((a) > (b) ? (a) : (b))
+#endif
+
/* FIXME: should we trade out select() for a poll() instead? */
ssize_t