* [Buildroot] [PATCH] cannelloni: fix build failure caused by missing include
@ 2017-02-15 11:38 yegorslists at googlemail.com
2017-02-15 20:55 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: yegorslists at googlemail.com @ 2017-02-15 11:38 UTC (permalink / raw)
To: buildroot
From: Yegor Yefremov <yegorslists@googlemail.com>
Add a patch, that explicitly includes cstdio header.
Fixes:
http://autobuild.buildroot.net/results/82d/82d1dca3aa7ee9189baae985db59464d95696ed7/
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
.../0001-Add-missing-cstdio-include.patch | 29 ++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 package/cannelloni/0001-Add-missing-cstdio-include.patch
diff --git a/package/cannelloni/0001-Add-missing-cstdio-include.patch b/package/cannelloni/0001-Add-missing-cstdio-include.patch
new file mode 100644
index 0000000..1e4ad00
--- /dev/null
+++ b/package/cannelloni/0001-Add-missing-cstdio-include.patch
@@ -0,0 +1,29 @@
+From d41f5ec6bb66654558757c3ef9cd2a158ee06ccc Mon Sep 17 00:00:00 2001
+From: Yegor Yefremov <yegorslists@googlemail.com>
+Date: Wed, 15 Feb 2017 09:29:29 +0100
+Subject: [PATCH] Add missing <cstdio> include
+
+This header defines EOF macro. Some toolchains cannot
+find this macro, if <cstdio> is missing. So include it
+explicitly.
+
+Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
+---
+ sctpthread.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/sctpthread.cpp b/sctpthread.cpp
+index 6c83fed..d83b472 100644
+--- a/sctpthread.cpp
++++ b/sctpthread.cpp
+@@ -19,6 +19,7 @@
+ */
+
+ #include <chrono>
++#include <cstdio>
+ #include <algorithm>
+
+ #include <string.h>
+--
+2.1.4
+
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] cannelloni: fix build failure caused by missing include
2017-02-15 11:38 [Buildroot] [PATCH] cannelloni: fix build failure caused by missing include yegorslists at googlemail.com
@ 2017-02-15 20:55 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-02-15 20:55 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 15 Feb 2017 12:38:10 +0100, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> Add a patch, that explicitly includes cstdio header.
>
> Fixes:
> http://autobuild.buildroot.net/results/82d/82d1dca3aa7ee9189baae985db59464d95696ed7/
>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> .../0001-Add-missing-cstdio-include.patch | 29 ++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
> create mode 100644 package/cannelloni/0001-Add-missing-cstdio-include.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-15 20:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-15 11:38 [Buildroot] [PATCH] cannelloni: fix build failure caused by missing include yegorslists at googlemail.com
2017-02-15 20:55 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox