1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-10-01 15:21:59 +03:00
openwrt-packages/cxxtools/patches/0001-fix-compile-error.patch
2010-01-18 23:17:13 +08:00

25 lines
546 B
Diff

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 {