diff --git a/src/pinba.c b/src/pinba.c
index 6879733501cbedaa32cbfaa4afde3ca527771894..e7bf2aac36c41fd5d7b52cc7478791e29ccae3d7 100644 (file)
--- a/src/pinba.c
+++ b/src/pinba.c
#include "pinba.pb-c.h"
+/* AIX doesn't have MSG_DONTWAIT */
+#ifndef MSG_DONTWAIT
+# define MSG_DONTWAIT MSG_NONBLOCK
+#endif
+
/*
* Defines
*/