QNX: fix slog2 for QNX7

Change the include header to sys/slog2.h, which is available
in both QNX 6.6.0 and 7.

Task-number: QTBUG-64033
Change-Id: I26d8c5451376bab33e11f4784ca772f84cd6fc28
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Samuli Piippo 2017-12-12 11:34:42 +02:00
parent 782eb1a114
commit 98b7ad7682
2 changed files with 2 additions and 2 deletions

View File

@ -178,7 +178,7 @@
"slog2": {
"label": "slog2",
"test": {
"include": "slog2.h",
"include": "sys/slog2.h",
"main": "slog2_set_default_buffer((slog2_buffer_t)-1);"
},
"export": "",

View File

@ -61,7 +61,7 @@
#include <qt_windows.h>
#endif
#if QT_CONFIG(slog2)
#include <slog2.h>
#include <sys/slog2.h>
#endif
#ifdef Q_OS_ANDROID