summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/qconf.cc
diff options
context:
space:
mode:
authorTiana Rakotovao Andriamahefa <rkmahefa@gmail.com>2013-01-24 17:20:39 +0100
committerMichal Marek <mmarek@suse.cz>2013-01-30 10:16:43 +0100
commitaed9934bf182c049d966bd106ad7e2b43c46c718 (patch)
tree81277f6d4ea3cd2ac0408dbda47767027b20459a /scripts/kconfig/qconf.cc
parentnconf: function keys line, change background color for better readability (diff)
downloadlinux-aed9934bf182c049d966bd106ad7e2b43c46c718.tar.xz
linux-aed9934bf182c049d966bd106ad7e2b43c46c718.zip
kconfig: fix a compiliation error when using make xconfig
When using make xconfig, the following compilation error appears : /usr/include/qt3/qvaluelist.h:427:13: error: ‘ptrdiff_t’ does not name a type Including stddef.h in scripts/kconfig/qconf.cc permits to avoid this error. Signed-off-by: Tiana Rakotovao Andriamahefa <rkmahefa@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/qconf.cc')
-rw-r--r--scripts/kconfig/qconf.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index df274febb3e5..1500c38f0cca 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -6,6 +6,7 @@
#include <qglobal.h>
#if QT_VERSION < 0x040000
+#include <stddef.h>
#include <qmainwindow.h>
#include <qvbox.h>
#include <qvaluelist.h>