@@ -11,13 +11,13 @@ * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ -#define __NO_EXT_QNX - #include "config.h" + +#define __NO_EXT_QNX #include "platform.h" #ifdef OF_WINDOWS /* Win32 has a ridiculous default of 64, even though it supports much more. */ @@ -39,10 +39,15 @@ #import "socket_helpers.h" #ifdef OF_AMIGAOS # include #endif + +#ifdef OF_HPUX +/* FD_SET causes warnings on HP-UX/IA64. */ +# pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif @implementation OFSelectKernelEventObserver - (instancetype)init { self = [super init];