summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2012-05-24 14:02:31 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-24 14:06:12 +0200
commit4b4975ceaec07ca7284be6ea852720477090afd9 (patch)
treef4a35cdbbd5c6fb41b7dee49c880d01471c595b9
parent2e4e283d41766b558f91fe19bc8bbc3bb765154f (diff)
Compile fix for kms platform plugin.
Change-Id: Ieed141c390920d118f8bb34fa884574ba308d23e Reviewed-by: Andy Nichols <andy.nichols@nokia.com>
-rw-r--r--src/plugins/platforms/kms/qkmsdevice.h2
-rw-r--r--src/plugins/platforms/kms/qkmsintegration.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/kms/qkmsdevice.h b/src/plugins/platforms/kms/qkmsdevice.h
index 14962189e9..638fe780fe 100644
--- a/src/plugins/platforms/kms/qkmsdevice.h
+++ b/src/plugins/platforms/kms/qkmsdevice.h
@@ -42,6 +42,8 @@
#ifndef QKMSDEVICE_H
#define QKMSDEVICE_H
+#include <stddef.h>
+
extern "C" {
#include <gbm.h>
}
diff --git a/src/plugins/platforms/kms/qkmsintegration.cpp b/src/plugins/platforms/kms/qkmsintegration.cpp
index 0405330617..91e8ae42b4 100644
--- a/src/plugins/platforms/kms/qkmsintegration.cpp
+++ b/src/plugins/platforms/kms/qkmsintegration.cpp
@@ -49,7 +49,6 @@
#include "qkmsudevlistener.h"
#include "qkmsudevdrmhandler.h"
-#include <QtPlatformSupport/private/qgenericunixprintersupport_p.h>
#include <QtPlatformSupport/private/qgenericunixeventdispatcher_p.h>
#include <QtPlatformSupport/private/qgenericunixfontdatabase_p.h>
#include <QtGui/private/qguiapplication_p.h>