Add <features.h> include to hurd-g++ mkspec

Without this include, __REDIRECT does not get defined, and then
open gets #defined to open64, leading to bogus MOC output.

See https://bugs.debian.org/920613.

Change-Id: I629d9dc6af05b9480c0c81a61d8890ab8bbefaae
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Samuel Thibault 2019-01-27 13:54:06 +01:00 committed by Dmitry Shachnev
parent a34077ceac
commit 501cca2c4b

View File

@ -59,6 +59,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested // We are hot - unistd.h should have turned on the specific APIs we requested
#include <features.h>
#include <pthread.h> #include <pthread.h>
#include <dirent.h> #include <dirent.h>
#include <fcntl.h> #include <fcntl.h>