浏览代码

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>
Tiana Rakotovao Andriamahefa 12 年之前
父节点
当前提交
aed9934bf1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      scripts/kconfig/qconf.cc

+ 1 - 0
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>