master hovercats/oakiss / pkg / unzip / patch / 0003-include-unistd.h-for-kFreeBSD.patch
 1From d27f3482cf46603d05d46bbc290ce6bb0f7ff210 Mon Sep 17 00:00:00 2001
 2From: Aurelien Jarno <aurel32@debian.org>
 3Date: Sat, 15 Jun 2019 18:13:11 -0700
 4Subject: [PATCH] #include <unistd.h> for kFreeBSD
 5
 6---
 7 unix/unxcfg.h | 1 +
 8 1 file changed, 1 insertion(+)
 9
10diff --git a/unix/unxcfg.h b/unix/unxcfg.h
11index e39b283..c98c3b9 100644
12--- a/unix/unxcfg.h
13+++ b/unix/unxcfg.h
14@@ -52,6 +52,7 @@
15 
16 #include <sys/types.h>          /* off_t, time_t, dev_t, ... */
17 #include <sys/stat.h>
18+#include <unistd.h>
19 
20 #ifdef NO_OFF_T
21   typedef long zoff_t;
22-- 
232.20.1
24