X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fstatsd.c;h=52dd8f86367d70bb3fb1f6de3e3ef1eb67de4005;hb=cc7ac931beb379f43fa08a145140a37dd8c1b449;hp=72a7779b929b11a1577b75e6276bc658ac1ee054;hpb=72ec1d0ed6cde4aa78f17d031e7a48e37cbf7a57;p=collectd.git diff --git a/src/statsd.c b/src/statsd.c index 72a7779b..52dd8f86 100644 --- a/src/statsd.c +++ b/src/statsd.c @@ -34,6 +34,11 @@ #include #include +/* 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