From: Tiana Rakotovao Andriamahefa <rkmahefa@gmail.com>
To: mmarek@suse.cz
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
Tiana Rakotovao Andriamahefa <rkmahefa@gmail.com>
Subject: [PATCH] scripts: kconfig: qconf.cc: fix a compiliation error when using make xconfig
Date: Sun, 13 Jan 2013 03:28:40 +0000 [thread overview]
Message-ID: <1358047720-10358-1-git-send-email-rkmahefa@gmail.com> (raw)
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>
---
scripts/kconfig/qconf.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index df274fe..1500c38 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>
--
1.7.10.4
next reply other threads:[~2013-01-13 2:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-13 3:28 Tiana Rakotovao Andriamahefa [this message]
2013-01-13 20:50 ` [PATCH] scripts: kconfig: qconf.cc: fix a compiliation error when using make xconfig Michal Marek
2013-01-14 0:54 ` Tiana Rakotovao Andriamahefa
2013-01-15 21:32 ` Michal Marek
-- strict thread matches above, loose matches on Subject: below --
2013-01-24 16:20 Tiana Rakotovao Andriamahefa
2013-01-30 9:17 ` Michal Marek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1358047720-10358-1-git-send-email-rkmahefa@gmail.com \
--to=rkmahefa@gmail.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mmarek@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).