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

13 lines
402 B
Diff

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