summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart
diff options
context:
space:
mode:
authorormorph <roma251078@mail.ru>2024-03-20 18:00:07 +0300
committerormorph <roma251078@mail.ru>2024-03-22 07:47:49 +0300
commit625658e24ad959654954cf67b3bf568812262d6a (patch)
treea67f6c00f7911f149a6cb0a81d263939daf2adf1 /kxsldbg/kxsldbgpart
parentc001576c1883d16ae3bcab997e3c0019c8a62f5f (diff)
downloadtdewebdev-625658e24ad959654954cf67b3bf568812262d6a.tar.gz
tdewebdev-625658e24ad959654954cf67b3bf568812262d6a.zip
Adding the header file unistd.h
Solution to issue #42 Required for Clang-17 and newer Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'kxsldbg/kxsldbgpart')
-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 */