Merge pull request #286191 from dereklhansen/rhdf5-fix-build-test-error

rPackages.rhdf5: fix build on aarch64-darwin
This commit is contained in:
Justin Bedő 2024-02-07 10:26:04 +11:00 committed by GitHub
commit dea2a7547c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,11 +35,12 @@ index b326444..5d58b4a 100644
/* return value of lock attempt */
PROTECT(Rval = allocVector(INTSXP, 1));
diff --git a/src/h5testLock.h b/src/h5testLock.h
index 2c1c5e4..660c747 100644
index 2c1c5e4..25914ff 100644
--- a/src/h5testLock.h
+++ b/src/h5testLock.h
@@ -1,5 +1,4 @@
@@ -1,5 +1,5 @@
#include <fcntl.h>
+#include <unistd.h>
#include "myhdf5.h"
-#include <H5private.h>