void-packages/srcpkgs/rstudio/patches/0003-Include-unistd.h-inste...

12 lines
318 B
Diff

--- src/cpp/shared_core/FilePath.cpp 2021-02-11 00:26:02.000000000 +0100
+++ - 2021-05-30 14:54:08.125365587 +0200
@@ -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