opkg

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

0007-diff-Add-missing-includes.patch (907B)


      1 From 7ce395bfbff36cf0020d0a425ff3053fcf2eaa3d Mon Sep 17 00:00:00 2001
      2 From: Michael Forney <mforney@mforney.org>
      3 Date: Sat, 4 Jun 2016 14:48:20 -0700
      4 Subject: [PATCH] diff: Add missing includes
      5 
      6 ---
      7  usr.bin/diff/diff.c    | 1 +
      8  usr.bin/diff/diffreg.c | 1 +
      9  2 files changed, 2 insertions(+)
     10 
     11 diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c
     12 index 2b075f12c..80c7f842e 100644
     13 --- a/usr.bin/diff/diff.c
     14 +++ b/usr.bin/diff/diff.c
     15 @@ -20,6 +20,7 @@
     16   * Materiel Command, USAF, under agreement number F39502-99-1-0512.
     17   */
     18  
     19 +#include <sys/cdefs.h>
     20  #include <sys/stat.h>
     21  
     22  #include <ctype.h>
     23 diff --git a/usr.bin/diff/diffreg.c b/usr.bin/diff/diffreg.c
     24 index 35d61c349..953018cf5 100644
     25 --- a/usr.bin/diff/diffreg.c
     26 +++ b/usr.bin/diff/diffreg.c
     27 @@ -77,6 +77,7 @@
     28  #include <stdio.h>
     29  #include <stdlib.h>
     30  #include <string.h>
     31 +#include <time.h>
     32  #include <unistd.h>
     33  #include <limits.h>
     34  
     35 -- 
     36 2.12.2
     37