diff options
author | Martin Schmölzer <martin@schmoelzer.at> | 2013-11-28 18:38:40 +0100 |
---|---|---|
committer | Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at> | 2013-11-28 18:43:33 +0100 |
commit | 6ad868ae258eb062e058e3c47fad2d81f6fcf6ef (patch) | |
tree | ef8ef4b818c31a207ad94712d97eedfa3d1c6f7c /libs/svgviewer | |
parent | 143a58bccce1b8a4de9f80ce9402ac07c16471ce (diff) | |
download | yosys-6ad868ae258eb062e058e3c47fad2d81f6fcf6ef.tar.gz yosys-6ad868ae258eb062e058e3c47fad2d81f6fcf6ef.tar.bz2 yosys-6ad868ae258eb062e058e3c47fad2d81f6fcf6ef.zip |
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>
Diffstat (limited to 'libs/svgviewer')
-rw-r--r-- | libs/svgviewer/svgview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/svgviewer/svgview.cpp b/libs/svgviewer/svgview.cpp index 8c11098b6..5a1a5ab29 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> |