rPackages.rhdf5: fix build on aarch64-darwin

This commit is contained in:
Derek Hansen 2024-02-03 19:30:34 -05:00
parent db842684bb
commit aa866f5189

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>