diff options
author | Tilman Sauerbeck <tilman@crux.nu> | 2008-06-21 12:00:25 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@crux.nu> | 2008-06-21 12:00:25 +0200 |
commit | 469d180866f74fd778ff4bd521a81a21872bb0b9 (patch) | |
tree | b6d371d4d242d3ec87582eb6fda43c55da69f436 | |
parent | 71a2db495bf77c9d991cfa158daa4a6a96bf9db4 (diff) | |
download | httpup-469d180866f74fd778ff4bd521a81a21872bb0b9.tar.gz httpup-469d180866f74fd778ff4bd521a81a21872bb0b9.tar.xz |
Bug #300: Added a few missing includes needed with gcc 4.3.
-rw-r--r-- | argparser.cpp | 2 | ||||
-rw-r--r-- | configparser.cpp | 1 | ||||
-rw-r--r-- | fileutils.cpp | 1 | ||||
-rw-r--r-- | httpup.cpp | 2 | ||||
-rw-r--r-- | main.cpp | 1 |
5 files changed, 7 insertions, 0 deletions
diff --git a/argparser.cpp b/argparser.cpp index d676501..f6be286 100644 --- a/argparser.cpp +++ b/argparser.cpp @@ -13,6 +13,8 @@ #include <sstream> #include <cassert> #include <libgen.h> +#include <cstring> +#include <cstdlib> #include "argparser.h" diff --git a/configparser.cpp b/configparser.cpp index f6af600..c70df82 100644 --- a/configparser.cpp +++ b/configparser.cpp @@ -10,6 +10,7 @@ //////////////////////////////////////////////////////////////////////// #include <iostream> +#include <cstring> #include "configparser.h" using namespace std; diff --git a/fileutils.cpp b/fileutils.cpp index 0d993c4..1120de0 100644 --- a/fileutils.cpp +++ b/fileutils.cpp @@ -14,6 +14,7 @@ #include <unistd.h> #include <dirent.h> #include <iostream> +#include <cstring> #include "md5.h" #include "httpup.h" @@ -16,6 +16,8 @@ #include <unistd.h> #include <libgen.h> #include <dirent.h> +#include <cstring> +#include <cstdlib> #include "fileutils.h" #include "httpup.h" @@ -11,6 +11,7 @@ #include <iostream> #include <string> +#include <cstdlib> using namespace std; #include "httpup.h" |