author | Florian Forster <octo@collectd.org> | |
Sat, 8 Oct 2016 05:48:15 +0000 (07:48 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 8 Oct 2016 05:48:15 +0000 (07:48 +0200) |
src/daemon/common.c | patch | blob | history |
diff --git a/src/daemon/common.c b/src/daemon/common.c
index b28af339728e786fbce25195eb535b72abd94dfa..f54cb40d74a0737e8dc35e20224fe6086a50db1d 100644 (file)
--- a/src/daemon/common.c
+++ b/src/daemon/common.c
extern kstat_ctl_t *kc;
#endif
+/* AIX doesn't have MSG_DONTWAIT */
+#ifndef MSG_DONTWAIT
+# define MSG_DONTWAIT MSG_NONBLOCK
+#endif
+
#if !HAVE_GETPWNAM_R
static pthread_mutex_t getpwnam_r_lock = PTHREAD_MUTEX_INITIALIZER;
#endif