From: Martin Schmölzer Date: Thu, 28 Nov 2013 17:38:40 +0000 (+0100) Subject: Include unistd.h in svgview.cpp (required for getcwd() function) X-Git-Tag: yosys-0.2.0~281^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ad868ae258eb062e058e3c47fad2d81f6fcf6ef;p=yosys.git 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 --- 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 #include #include +#include #ifndef QT_NO_OPENGL #include