summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Winkelmann <jw@smts.ch>2012-09-16 18:35:01 +0000
committerJohannes Winkelmann <jw@smts.ch>2012-09-16 18:35:01 +0000
commit6a397b004842752c7a89dcf0593e117fc8356e60 (patch)
tree723eddaf0fee9d6108db36683998d3d85228fe4f
parent72e5159c82a685bc1fa606a56d886b0bd5ec9d78 (diff)
downloadhttpup-6a397b004842752c7a89dcf0593e117fc8356e60.tar.gz
httpup-6a397b004842752c7a89dcf0593e117fc8356e60.tar.xz
add unistd.h include to fix compilation on gcc 4.7
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 3040b9d..626fc84 100644
--- a/main.cpp
+++ b/main.cpp
@@ -14,6 +14,8 @@
#include <cstdlib>
using namespace std;
+#include <unistd.h>
+
#include "httpup.h"
#include "fileutils.h"
#include "httpupargparser.h"

Generated by cgit