opkg

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

0004-pax-Add-some-includes.patch (1968B)


      1 From fbf6dc8783f31408cc090cf42cf92008d4f2a455 Mon Sep 17 00:00:00 2001
      2 From: Michael Forney <mforney@mforney.org>
      3 Date: Mon, 18 Apr 2016 01:27:29 -0700
      4 Subject: [PATCH] pax: Add some includes
      5 
      6 ---
      7  bin/pax/ar_subs.c   | 3 ++-
      8  bin/pax/buf_subs.c  | 1 +
      9  bin/pax/file_subs.c | 2 ++
     10  bin/pax/sel_subs.c  | 1 +
     11  bin/pax/tables.c    | 1 +
     12  5 files changed, 7 insertions(+), 1 deletion(-)
     13 
     14 diff --git a/bin/pax/ar_subs.c b/bin/pax/ar_subs.c
     15 index 51dd6e085..f70ec4ed0 100644
     16 --- a/bin/pax/ar_subs.c
     17 +++ b/bin/pax/ar_subs.c
     18 @@ -36,14 +36,15 @@
     19  
     20  #include <sys/types.h>
     21  #include <sys/stat.h>
     22 +#include <sys/time.h>
     23  #include <errno.h>
     24  #include <fcntl.h>
     25  #include <signal.h>
     26  #include <stdio.h>
     27 +#include <stdlib.h>
     28  #include <string.h>
     29  #include <time.h>
     30  #include <unistd.h>
     31 -
     32  #include "pax.h"
     33  #include "extern.h"
     34  
     35 diff --git a/bin/pax/buf_subs.c b/bin/pax/buf_subs.c
     36 index 41f06ae31..30be3dc46 100644
     37 --- a/bin/pax/buf_subs.c
     38 +++ b/bin/pax/buf_subs.c
     39 @@ -36,6 +36,7 @@
     40  
     41  #include <sys/types.h>
     42  #include <sys/stat.h>
     43 +#include <sys/time.h>
     44  #include <stdio.h>
     45  #include <errno.h>
     46  #include <unistd.h>
     47 diff --git a/bin/pax/file_subs.c b/bin/pax/file_subs.c
     48 index 9f834bf17..57ebdb490 100644
     49 --- a/bin/pax/file_subs.c
     50 +++ b/bin/pax/file_subs.c
     51 @@ -35,6 +35,8 @@
     52   */
     53  
     54  #include <sys/stat.h>
     55 +#include <sys/time.h>
     56 +#include <sys/types.h>
     57  #include <err.h>
     58  #include <errno.h>
     59  #include <fcntl.h>
     60 diff --git a/bin/pax/sel_subs.c b/bin/pax/sel_subs.c
     61 index 17200b5a4..136f87c5d 100644
     62 --- a/bin/pax/sel_subs.c
     63 +++ b/bin/pax/sel_subs.c
     64 @@ -43,6 +43,7 @@
     65  #include <stdlib.h>
     66  #include <string.h>
     67  #include <time.h>
     68 +#include <unistd.h>
     69  
     70  #include "pax.h"
     71  #include "extern.h"
     72 diff --git a/bin/pax/tables.c b/bin/pax/tables.c
     73 index b700f1649..99790f986 100644
     74 --- a/bin/pax/tables.c
     75 +++ b/bin/pax/tables.c
     76 @@ -36,6 +36,7 @@
     77  
     78  #include <sys/types.h>
     79  #include <sys/stat.h>
     80 +#include <sys/time.h>
     81  #include <errno.h>
     82  #include <fcntl.h>
     83  #include <limits.h>
     84 -- 
     85 2.12.2
     86