rtems: Fix missing some ernno defines

By default RTEMS does not support linux extensions for errno.
Enable it for build.

Change-Id: I43b346794b99ac0ed339bfbe6e39684071615503
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Ryan Chu <ryan.chu@qt.io>
This commit is contained in:
Mikhail Svetkin 2018-03-20 14:32:54 +01:00
parent 248e81a280
commit 222b81f5da
2 changed files with 4 additions and 2 deletions

View File

@ -57,8 +57,10 @@
#include <pwd.h>
#include <grp.h>
#include "../posix/qplatformdefs.h"
#define __LINUX_ERRNO_EXTENSIONS__
#include <errno.h>
#include "../posix/qplatformdefs.h"
#ifdef __STRICT_ANSI__
#undef __STRICT_ANSI__

View File

@ -52,8 +52,8 @@
// We mean it.
//
#include <QtCore/private/qglobal_p.h>
#include "qplatformdefs.h"
#include <QtCore/private/qglobal_p.h>
#include "qatomic.h"
#include "qbytearray.h"