Unverified Commit dea2a754 authored by Justin Bedő's avatar Justin Bedő Committed by GitHub
Browse files

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

rPackages.rhdf5: fix build on aarch64-darwin
parents 7bcb9be1 aa866f51
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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>