--- samba-3.4.0/lib/replace/system/network.h 2009-07-03 11:21:14.000000000 +++ samba/lib/replace/system/network.h 2009-08-11 07:59:38.000000000 @@ -195,6 +195,12 @@ #endif #endif +#ifdef __QNX__ +#include +#if _NTO_VERSION == 630 +#undef AI_ADDRCONFIG +#endif +#endif #ifndef AI_ADDRCONFIG /* * logic copied from AI_NUMERICHOST