summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2024-03-20 18:00:07 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-25 22:43:54 +0900
commita605c96a8ae5ec3c368cd21ca7acbe1115220b9f (patch)
tree1352864047b7736395d38ba9ce90fcdfe9f33a23
parent5344e9d75cfecf93976cd24ea909d6e8627ac2b3 (diff)
downloadtdewebdev-a605c96a8ae5ec3c368cd21ca7acbe1115220b9f.tar.gz
tdewebdev-a605c96a8ae5ec3c368cd21ca7acbe1115220b9f.zip
Adding the header file unistd.h
Solution to issue #42 Required for Clang-17 and newer Signed-off-by: ormorph <roma251078@mail.ru> (cherry picked from commit 625658e24ad959654954cf67b3bf568812262d6a)
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/files.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/files.cpp b/kxsldbg/kxsldbgpart/libxsldbg/files.cpp
index 77e6c1bb..00540e6d 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/files.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/files.cpp
@@ -34,6 +34,8 @@
#include "xsldbgthread.h"
#ifdef WIN32
#include <direct.h>
+#else
+#include <unistd.h>
#endif
#endif /* BUILD_DOCS */