X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fpinba.c;h=e7bf2aac36c41fd5d7b52cc7478791e29ccae3d7;hb=9c3ed6462c15fd1cb664cd0ec2a5efb289aa1af6;hp=6879733501cbedaa32cbfaa4afde3ca527771894;hpb=6d85a198dd90fb5af963ad847d9dbff7b8025c46;p=collectd.git diff --git a/src/pinba.c b/src/pinba.c index 68797335..e7bf2aac 100644 --- a/src/pinba.c +++ b/src/pinba.c @@ -35,6 +35,11 @@ #include "pinba.pb-c.h" +/* AIX doesn't have MSG_DONTWAIT */ +#ifndef MSG_DONTWAIT +# define MSG_DONTWAIT MSG_NONBLOCK +#endif + /* * Defines */