summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiana Rakotovao Andriamahefa <rkmahefa@gmail.com>2013-01-24 16:20:39 +0000
committerMichal Marek <mmarek@suse.cz>2013-01-30 10:16:43 +0100
commitaed9934bf182c049d966bd106ad7e2b43c46c718 (patch)
tree81277f6d4ea3cd2ac0408dbda47767027b20459a
parentc5ffa130f3644b51e588a2a6770648b6ea936969 (diff)
downloadlinux-3.10-aed9934bf182c049d966bd106ad7e2b43c46c718.tar.gz
linux-3.10-aed9934bf182c049d966bd106ad7e2b43c46c718.tar.bz2
linux-3.10-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>
-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 df274febb3e..1500c38f0cc 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>