diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2017-02-15 12:38:10 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-02-15 21:30:03 +0100 |
commit | 08992f9c3a47b54d6b3d9d4130a6f00b79385595 (patch) | |
tree | c02fd15689594eac4b1f104599daf0a205526596 /package | |
parent | 0692d7facb0f28686b5366ac40fce48cee1d91a1 (diff) |
cannelloni: fix build failure caused by missing include
Add a patch, that explicitly includes cstdio header.
Fixes:
http://autobuild.buildroot.net/results/82d/82d1dca3aa7ee9189baae985db59464d95696ed7/
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/cannelloni/0001-Add-missing-cstdio-include.patch | 29 |
1 files changed, 29 insertions, 0 deletions
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 000000000..1e4ad0039 --- /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 + |