Include unistd.h in svgview.cpp (required for getcwd() function)
authorMartin Schmölzer <martin@schmoelzer.at>
Thu, 28 Nov 2013 17:38:40 +0000 (18:38 +0100)
committerMartin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Thu, 28 Nov 2013 17:43:33 +0000 (18:43 +0100)
This fixes compilation on Arch Linux, which otherwise fails.

Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
libs/svgviewer/svgview.cpp

index 8c11098b620a3de257a7e27c0ce3d9c12154f85b..5a1a5ab2939faf8ee6d776a5e2e1949cf2d1ef0a 100644 (file)
@@ -47,6 +47,7 @@
 #include <QGraphicsWebView>
 #include <QPaintEvent>
 #include <qmath.h>
+#include <unistd.h>
 
 #ifndef QT_NO_OPENGL
 #include <QGLWidget>