X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fcommon.c;h=d3a6ae447fab911c76dcb9abdac0372b3fb52ec9;hb=df51d4962c03fd646bb6e8be0d41d6e15ee0cad4;hp=fba51ef8f73be8f8bbb174e55525e59e6e397eb0;hpb=7df2428077e2001fdfab3ebbb3bb74b0491b74bd;p=collectd.git diff --git a/src/daemon/common.c b/src/daemon/common.c index fba51ef8..d3a6ae44 100644 --- a/src/daemon/common.c +++ b/src/daemon/common.c @@ -64,6 +64,11 @@ 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