mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-25 17:54:39 +02:00
[cxxtools] fix compile error
This commit is contained in:
parent
35be112470
commit
fb60e18bda
24
cxxtools/patches/0001-fix-compile-error.patch
Normal file
24
cxxtools/patches/0001-fix-compile-error.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff --git a/src/fileimpl.cpp b/src/fileimpl.cpp
|
||||
index 08edcb9..db8cb7f 100644
|
||||
--- a/src/fileimpl.cpp
|
||||
+++ b/src/fileimpl.cpp
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
+#include <cstdio>
|
||||
|
||||
namespace cxxtools {
|
||||
|
||||
diff --git a/src/http/messageheader.cpp b/src/http/messageheader.cpp
|
||||
index 9381be7..21ee7c3 100644
|
||||
--- a/src/http/messageheader.cpp
|
||||
+++ b/src/http/messageheader.cpp
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <cxxtools/clock.h>
|
||||
#include <cctype>
|
||||
#include <sstream>
|
||||
+#include <cstdio>
|
||||
|
||||
namespace cxxtools {
|
||||
|
Loading…
Reference in New Issue
Block a user