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:
lars
2009-03-09 20:00:14 +00:00
parent bf610c5646
commit 4dea6a9e1e
9 changed files with 159 additions and 1 deletions

View 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";