logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

0037-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. We provide our own util.h and want to use that instead of OpenBSD's
  6. version.
  7. ---
  8. lib/libutil/fmt_scaled.c | 3 +--
  9. 1 file changed, 1 insertion(+), 2 deletions(-)
  10. diff --git a/lib/libutil/fmt_scaled.c b/lib/libutil/fmt_scaled.c
  11. index 374901ffe1e..05ef9983afe 100644
  12. --- a/lib/libutil/fmt_scaled.c
  13. +++ b/lib/libutil/fmt_scaled.c
  14. @@ -42,8 +42,7 @@
  15. #include <string.h>
  16. #include <ctype.h>
  17. #include <limits.h>
  18. -
  19. -#include "util.h"
  20. +#include <util.h>
  21. typedef enum {
  22. NONE = 0, KILO = 1, MEGA = 2, GIGA = 3, TERA = 4, PETA = 5, EXA = 6
  23. --
  24. 2.35.1