Skip to content

Commit

Permalink
kconfig: fix a compiliation error when using make xconfig
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tiana Rakotovao Andriamahefa authored and Michal Marek committed Jan 30, 2013
1 parent c5ffa13 commit aed9934
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/kconfig/qconf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <qglobal.h>

#if QT_VERSION < 0x040000
#include <stddef.h>
#include <qmainwindow.h>
#include <qvbox.h>
#include <qvaluelist.h>
Expand Down

0 comments on commit aed9934

Please sign in to comment.