diff --git a/src/statsd.c b/src/statsd.c
index 72a7779b929b11a1577b75e6276bc658ac1ee054..52dd8f86367d70bb3fb1f6de3e3ef1eb67de4005 100644 (file)
--- a/src/statsd.c
+++ b/src/statsd.c
#include <netdb.h>
#include <poll.h>
+/* AIX doesn't have MSG_DONTWAIT */
+#ifndef MSG_DONTWAIT
+# define MSG_DONTWAIT MSG_NONBLOCK
+#endif
+
#ifndef STATSD_DEFAULT_NODE
# define STATSD_DEFAULT_NODE NULL
#endif