summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@crux.nu>2008-06-21 12:00:25 +0200
committerTilman Sauerbeck <tilman@crux.nu>2008-06-21 12:00:25 +0200
commit469d180866f74fd778ff4bd521a81a21872bb0b9 (patch)
treeb6d371d4d242d3ec87582eb6fda43c55da69f436
parent71a2db495bf77c9d991cfa158daa4a6a96bf9db4 (diff)
downloadhttpup-469d180866f74fd778ff4bd521a81a21872bb0b9.tar.gz
httpup-469d180866f74fd778ff4bd521a81a21872bb0b9.tar.xz
Bug #300: Added a few missing includes needed with gcc 4.3.
-rw-r--r--argparser.cpp2
-rw-r--r--configparser.cpp1
-rw-r--r--fileutils.cpp1
-rw-r--r--httpup.cpp2
-rw-r--r--main.cpp1
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"
diff --git a/httpup.cpp b/httpup.cpp
index 22932d7..9b30999 100644
--- a/httpup.cpp
+++ b/httpup.cpp
@@ -16,6 +16,8 @@
#include <unistd.h>
#include <libgen.h>
#include <dirent.h>
+#include <cstring>
+#include <cstdlib>
#include "fileutils.h"
#include "httpup.h"
diff --git a/main.cpp b/main.cpp
index 5210941..3040b9d 100644
--- a/main.cpp
+++ b/main.cpp
@@ -11,6 +11,7 @@
#include <iostream>
#include <string>
+#include <cstdlib>
using namespace std;
#include "httpup.h"

Generated by cgit