From 79f613d6f4414c4313e7a08401bca9990b524062 Mon Sep 17 00:00:00 2001
From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de>
Date: Fri, 28 Feb 2025 16:25:57 +0000
Subject: [PATCH] include unistd.h only ifndef _WIN32

---
 src/cdi_util.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/cdi_util.c b/src/cdi_util.c
index 2d69b4eb7..160955705 100644
--- a/src/cdi_util.c
+++ b/src/cdi_util.c
@@ -2,6 +2,9 @@
 #include "config.h"
 #endif
 
+#ifndef _WIN32
+#include <unistd.h>
+#endif
 #include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
-- 
GitLab