summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7df2428)
raw | patch | inline | side by side (parent: 7df2428)
author | Chao Yang <cyang244@bloomberg.net> | |
Fri, 23 Sep 2016 14:48:53 +0000 (10:48 -0400) | ||
committer | Chao Yang <cyang244@bloomberg.net> | |
Fri, 23 Sep 2016 14:48:53 +0000 (10:48 -0400) |
src/daemon/common.c | patch | blob | history |
diff --git a/src/daemon/common.c b/src/daemon/common.c
index fba51ef8f73be8f8bbb174e55525e59e6e397eb0..d3a6ae447fab911c76dcb9abdac0372b3fb52ec9 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