summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cat/LuaScriptInterface.cpp')
-rw-r--r--src/cat/LuaScriptInterface.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp
index 39a5add..b9124c5 100644
--- a/src/cat/LuaScriptInterface.cpp
+++ b/src/cat/LuaScriptInterface.cpp
@@ -39,6 +39,10 @@
#include "LuaSlider.h"
#include "LuaProgressBar.h"
+#ifdef __unix__
+#include <unistd.h>
+#endif
+
extern "C"
{
#ifdef WIN
@@ -1702,4 +1706,4 @@ std::string LuaScriptInterface::FormatCommand(std::string command)
LuaScriptInterface::~LuaScriptInterface() {
delete legacy;
-} \ No newline at end of file
+}