summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schmölzer <martin@schmoelzer.at>2013-11-28 18:38:40 +0100
committerMartin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>2013-11-28 18:43:33 +0100
commit6ad868ae258eb062e058e3c47fad2d81f6fcf6ef (patch)
treeef8ef4b818c31a207ad94712d97eedfa3d1c6f7c
parent143a58bccce1b8a4de9f80ce9402ac07c16471ce (diff)
Include unistd.h in svgview.cpp (required for getcwd() function)
This fixes compilation on Arch Linux, which otherwise fails. Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
-rw-r--r--libs/svgviewer/svgview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/svgviewer/svgview.cpp b/libs/svgviewer/svgview.cpp
index 8c11098b..5a1a5ab2 100644
--- a/libs/svgviewer/svgview.cpp
+++ b/libs/svgviewer/svgview.cpp
@@ -47,6 +47,7 @@
#include <QGraphicsWebView>
#include <QPaintEvent>
#include <qmath.h>
+#include <unistd.h>
#ifndef QT_NO_OPENGL
#include <QGLWidget>