add fcntl.h header for win
authorWolf Vollprecht <w.vollprecht@gmail.com>
Thu, 6 Jan 2022 08:04:49 +0000 (09:04 +0100)
committerWolf Vollprecht <w.vollprecht@gmail.com>
Fri, 7 Jan 2022 09:08:36 +0000 (10:08 +0100)
src/lib/zck.c

index 3e6571b629eabbdd939ccd5f5eaf5d04c1ba090d..03777fda5a6835299f9c25b86d07ea5dc53af537 100644 (file)
@@ -35,6 +35,9 @@
 #include <unistd.h>
 #include <errno.h>
 #include <zck.h>
+#ifdef _WIN32
+#include <fcntl.h>
+#endif
 
 #include "zck_private.h"