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

12 lines
353 B
Diff

--- a/src/cpp/shared_core/FilePath.cpp 2021-02-11 00:26:02.000000000 +0100
+++ b/src/cpp/shared_core/FilePath.cpp 2021-02-11 00:26:02.000000000 +0100
@@ -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