summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@debian.org>2019-01-27 13:54:06 +0100
committerDmitry Shachnev <mitya57@gmail.com>2019-02-14 14:24:56 +0000
commit501cca2c4b0851cea7133ba56c3a05d71c25ce6d (patch)
tree643196769c401b60e51fb6cdf3b565e266cd09f4 /mkspecs
parenta34077ceac6a3e436328fcfb444e20111455a885 (diff)
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>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/hurd-g++/qplatformdefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkspecs/hurd-g++/qplatformdefs.h b/mkspecs/hurd-g++/qplatformdefs.h
index 3c80cbdfad..b1887aae7f 100644
--- a/mkspecs/hurd-g++/qplatformdefs.h
+++ b/mkspecs/hurd-g++/qplatformdefs.h
@@ -59,6 +59,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
+#include <features.h>
#include <pthread.h>
#include <dirent.h>
#include <fcntl.h>