rPackages.rhdf5: fix build on aarch64-darwin
This commit is contained in:
parent
db842684bb
commit
aa866f5189
1 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue