From: Amos Jeffries Date: Mon, 27 May 2013 03:47:21 +0000 (-0600) Subject: Bug 3854: pt1: compile errors on AIX X-Git-Tag: SQUID_3_4_0_1~105 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f2e2a60f36f82c46a11944dd3e8ac4ec5a89d734;p=thirdparty%2Fsquid.git Bug 3854: pt1: compile errors on AIX --- diff --git a/compat/os/aix.h b/compat/os/aix.h index 079194ae8a..6a62c4ce6d 100644 --- a/compat/os/aix.h +++ b/compat/os/aix.h @@ -17,5 +17,10 @@ #define _XOPEN_SOURCE_EXTENDED 1 #endif +/* AIX 6.1 does not define recvmsg() flag MSG_DONTWAIT */ +#if !defined(MSG_DONTWAIT) +#define MSG_DONTWAIT 0 +#endif + #endif /* _SQUID_AIX_ */ #endif /* SQUID_OS_AIX_H */