packages/net/peerguardian/patches/003-gcc_4_3-compile-fix.patch
lars 4dea6a9e1e Fix serverel gcc 4.3 related build failures.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-09 20:00:14 +00:00

25 lines
447 B
Diff

diff --git a/Main.cpp b/Main.cpp
index 0a5ae59..0c5274c 100755
--- a/Main.cpp
+++ b/Main.cpp
@@ -25,6 +25,7 @@
#include <signal.h>
#include <iostream>
#include <fstream>
+#include <cstring>
using namespace PG;
using namespace std;
diff --git a/PeerGuard.h b/PeerGuard.h
index 3d0d31c..7e1d0f7 100755
--- a/PeerGuard.h
+++ b/PeerGuard.h
@@ -24,6 +24,7 @@
#include "BlockList.h"
#include <ostream>
+#include <cstring>
namespace PG {