opkg

statically linked package installer
git clone anongit@rnpnr.xyz:opkg.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

0003-include-unistd.h-for-kFreeBSD.patch (557B)


      1 From d27f3482cf46603d05d46bbc290ce6bb0f7ff210 Mon Sep 17 00:00:00 2001
      2 From: Aurelien Jarno <aurel32@debian.org>
      3 Date: Sat, 15 Jun 2019 18:13:11 -0700
      4 Subject: [PATCH] #include <unistd.h> for kFreeBSD
      5 
      6 ---
      7  unix/unxcfg.h | 1 +
      8  1 file changed, 1 insertion(+)
      9 
     10 diff --git a/unix/unxcfg.h b/unix/unxcfg.h
     11 index 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 -- 
     23 2.20.1
     24