Fix serverel gcc 4.3 related build failures.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14823 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
12
net/tctool/patches/005-fix-gcc_4_3-compile.patch
Normal file
12
net/tctool/patches/005-fix-gcc_4_3-compile.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/src/tctool.cpp b/src/tctool.cpp
|
||||
index bbab13f..9ce8e5c 100644
|
||||
--- a/src/tctool.cpp
|
||||
+++ b/src/tctool.cpp
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
+#include <cstdlib>
|
||||
|
||||
std::string options = "I:m:i:r:t:p:c:MUdsSCRh";
|
||||
std::string ethDev = "eth0";
|
Reference in New Issue
Block a user