--- ./lib/replace/replace.h_orig 2026-06-01 05:25:33.426358489 -0400 +++ ./lib/replace/replace.h 2026-05-31 23:27:23.010129544 -0400 @@ -1127,4 +1127,8 @@ #define HAVE___THREAD #endif +#if defined(_AIX) +#define MSG_DONTWAIT MSG_NONBLOCK +#endif + #endif /* _LIBREPLACE_REPLACE_H */ --- ./ctdb/wscript_orig 2026-06-01 00:23:37.294837766 -0400 +++ ./ctdb/wscript 2026-06-01 00:27:45.195525656 -0400 @@ -685,6 +685,7 @@ bld.SAMBA_BINARY("statd_callout", source="failover/statd_callout.c", + deps='''replace''', install_path="${CTDB_HELPER_BINDIR}") bld.SAMBA_BINARY('ctdb_takeover_helper',