--- src/corelib/global/qsystemdetection.h.orig 2017-02-03 19:57:59.789927000 +0100 +++ src/corelib/global/qsystemdetection.h 2017-02-03 19:59:51.347306000 +0100 @@ -129,6 +129,9 @@ # define Q_OS_NACL #elif defined(__linux__) || defined(__linux) # define Q_OS_LINUX +#elif defined(__BSDSUniX__) +# define Q_OS_BSDSUNIX +# define Q_OS_BSD4 #elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) # ifndef __FreeBSD_kernel__ # define Q_OS_FREEBSD