logo

oasis

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

0006-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. usr.bin/diff/diff.c | 1 +
  7. usr.bin/diff/diffreg.c | 1 +
  8. 2 files changed, 2 insertions(+)
  9. diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c
  10. index 2b075f12c..80c7f842e 100644
  11. --- a/usr.bin/diff/diff.c
  12. +++ b/usr.bin/diff/diff.c
  13. @@ -20,6 +20,7 @@
  14. * Materiel Command, USAF, under agreement number F39502-99-1-0512.
  15. */
  16. +#include <sys/cdefs.h>
  17. #include <sys/stat.h>
  18. #include <ctype.h>
  19. diff --git a/usr.bin/diff/diffreg.c b/usr.bin/diff/diffreg.c
  20. index 35d61c349..953018cf5 100644
  21. --- a/usr.bin/diff/diffreg.c
  22. +++ b/usr.bin/diff/diffreg.c
  23. @@ -77,6 +77,7 @@
  24. #include <stdio.h>
  25. #include <stdlib.h>
  26. #include <string.h>
  27. +#include <time.h>
  28. #include <unistd.h>
  29. #include <limits.h>
  30. --
  31. 2.12.2