ayaports/user/rstudio-desktop/filepath-use-unistd.patch

14 lines
402 B
Diff
Raw Normal View History

2023-05-03 04:32:53 +00:00
diff --git a/src/cpp/shared_core/FilePath.cpp.orig b/src/cpp/shared_core/FilePath.cpp
index 0259d1d..f3c8956 100644
--- a/src/cpp/shared_core/FilePath.cpp.orig
+++ b/src/cpp/shared_core/FilePath.cpp
@@ -36,7 +36,7 @@
#include <shared_core/system/Win32StringUtils.hpp>
#else
#include <sys/stat.h>
-#include <sys/unistd.h>
+#include <unistd.h>
#include <shared_core/system/PosixSystem.hpp>
#endif