void-packages/srcpkgs/rstudio/patches/0003-Include-unistd.h-instead-of-sys-unistd.h.patch
2019-11-30 01:50:54 +01:00

25 lines
733 B
Diff

From c51561dc858b1d2d47ea3a5b9039b69aa822a830 Mon Sep 17 00:00:00 2001
From: John <johnz@posteo.net>
Date: Fri, 29 Nov 2019 10:48:39 +0100
Subject: [PATCH 3/3] Include <unistd.h> instead of <sys/unistd.h>
---
src/cpp/core/include/core/system/FileMode.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/cpp/core/include/core/system/FileMode.hpp src/cpp/core/include/core/system/FileMode.hpp
index 8677a4d209..2f12064b66 100644
--- src/cpp/core/include/core/system/FileMode.hpp
+++ src/cpp/core/include/core/system/FileMode.hpp
@@ -22,7 +22,7 @@
#endif
#include <sys/stat.h>
-#include <sys/unistd.h>
+#include <unistd.h>
#include <shared_core/Error.hpp>
#include <shared_core/FilePath.hpp>
--
2.24.0