[lkml]   [2013]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] scripts: 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/ permits to avoid this error.

Signed-off-by: Tiana Rakotovao Andriamahefa <>
scripts/kconfig/ | 1 +
1 file changed, 1 insertion(+)

diff --git a/scripts/kconfig/ b/scripts/kconfig/
index df274fe..1500c38 100644
--- a/scripts/kconfig/
+++ b/scripts/kconfig/
@@ -6,6 +6,7 @@
#include <qglobal.h>

#if QT_VERSION < 0x040000
+#include <stddef.h>
#include <qmainwindow.h>
#include <qvbox.h>
#include <qvaluelist.h>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2013-01-13 04:01    [W:0.047 / U:3.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site