diff options
author | ormorph <roma251078@mail.ru> | 2024-03-20 18:00:07 +0300 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-25 22:43:54 +0900 |
commit | a605c96a8ae5ec3c368cd21ca7acbe1115220b9f (patch) | |
tree | 1352864047b7736395d38ba9ce90fcdfe9f33a23 /kxsldbg/kxsldbgpart/libxsldbg | |
parent | 5344e9d75cfecf93976cd24ea909d6e8627ac2b3 (diff) | |
download | tdewebdev-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)
Diffstat (limited to 'kxsldbg/kxsldbgpart/libxsldbg')
-rw-r--r-- | kxsldbg/kxsldbgpart/libxsldbg/files.cpp | 2 |
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 */ |