opkg

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

0039-libutil-Include-util.h-instead-of-util.h.patch (764B)


      1 From 43cb99e0700fe904af34962b9b7ca4560dd70d62 Mon Sep 17 00:00:00 2001
      2 From: Michael Forney <mforney@mforney.org>
      3 Date: Tue, 6 Sep 2022 23:36:35 -0700
      4 Subject: [PATCH] libutil: Include <util.h> instead of "util.h"
      5 
      6 We provide our own util.h and want to use that instead of OpenBSD's
      7 version.
      8 ---
      9  lib/libutil/fmt_scaled.c | 3 +--
     10  1 file changed, 1 insertion(+), 2 deletions(-)
     11 
     12 diff --git a/lib/libutil/fmt_scaled.c b/lib/libutil/fmt_scaled.c
     13 index 374901ffe1e..05ef9983afe 100644
     14 --- a/lib/libutil/fmt_scaled.c
     15 +++ b/lib/libutil/fmt_scaled.c
     16 @@ -42,8 +42,7 @@
     17  #include <string.h>
     18  #include <ctype.h>
     19  #include <limits.h>
     20 -
     21 -#include "util.h"
     22 +#include <util.h>
     23  
     24  typedef enum {
     25  	NONE = 0, KILO = 1, MEGA = 2, GIGA = 3, TERA = 4, PETA = 5, EXA = 6
     26 -- 
     27 2.35.1
     28