eglfs: Put Linux-specific includes within Q_OS_LINUX guards.

This should fix the build on platforms like the BSDs, where linux/fb.h does
not exist.

Change-Id: Ia06403d71c3aaa0e177c85dcefa7986647777ae0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Raphael Kubo da Costa 2014-02-08 18:54:56 +02:00 committed by The Qt Project
parent 99eecab83d
commit ba8e61a388
1 changed files with 2 additions and 0 deletions

View File

@ -44,10 +44,12 @@
#include <QtPlatformSupport/private/qeglconvenience_p.h>
#include <QtCore/QRegularExpression>
#if defined(Q_OS_LINUX)
#include <fcntl.h>
#include <unistd.h>
#include <linux/fb.h>
#include <sys/ioctl.h>
#endif
#include <private/qcore_unix_p.h>