From 0f65275b96888e7a5732713ebc16d06142ee9510 Mon Sep 17 00:00:00 2001
From: Adrian Pope <apope@anl.gov>
Date: Fri, 21 Oct 2022 12:14:01 -1000
Subject: [PATCH] added -DHAVE_UNISTD_H for blosc with newer versions of clang

---
 GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GNUmakefile b/GNUmakefile
index aea9cce..e503628 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -48,7 +48,7 @@ sql: fe-sqlite
 
 BLOSC_CPPFLAGS := \
 	-Ithirdparty/blosc \
-	-DHAVE_LZ4 -DHAVE_SNAPPY -DHAVE_ZLIB -DHAVE_ZSTD \
+	-DHAVE_LZ4 -DHAVE_SNAPPY -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_UNISTD_H \
 	-Ithirdparty/blosc/internal-complibs/zlib-1.2.8 \
 	-Ithirdparty/blosc/internal-complibs/lz4-1.7.2 \
 	-Ithirdparty/blosc/internal-complibs/snappy-1.1.1 \
-- 
GitLab