summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/libxsldbg/files.cpp
diff options
context:
space:
mode:
authorormorph <[email protected]>2024-03-20 18:00:07 +0300
committerormorph <[email protected]>2024-03-22 07:47:49 +0300
commit625658e24ad959654954cf67b3bf568812262d6a (patch)
treea67f6c00f7911f149a6cb0a81d263939daf2adf1 /kxsldbg/kxsldbgpart/libxsldbg/files.cpp
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 <[email protected]>
Diffstat (limited to 'kxsldbg/kxsldbgpart/libxsldbg/files.cpp')
-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 */