summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 130dd69)
raw | patch | inline | side by side (parent: 130dd69)
author | Manuel Luis Sanmartín Rozada <manuel.luis@gmail.com> | |
Tue, 4 Mar 2014 17:27:54 +0000 (18:27 +0100) | ||
committer | Manuel Luis Sanmartín Rozada <manuel.luis@gmail.com> | |
Tue, 4 Mar 2014 17:27:54 +0000 (18:27 +0100) |
src/pinba.c | patch | blob | history | |
src/statsd.c | patch | blob | history |
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
*/
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