logo

oasis

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

0003-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. bin/pax/ar_subs.c | 3 ++-
  7. bin/pax/buf_subs.c | 1 +
  8. bin/pax/file_subs.c | 2 ++
  9. bin/pax/sel_subs.c | 1 +
  10. bin/pax/tables.c | 1 +
  11. 5 files changed, 7 insertions(+), 1 deletion(-)
  12. diff --git a/bin/pax/ar_subs.c b/bin/pax/ar_subs.c
  13. index 51dd6e085..f70ec4ed0 100644
  14. --- a/bin/pax/ar_subs.c
  15. +++ b/bin/pax/ar_subs.c
  16. @@ -36,14 +36,15 @@
  17. #include <sys/types.h>
  18. #include <sys/stat.h>
  19. +#include <sys/time.h>
  20. #include <errno.h>
  21. #include <fcntl.h>
  22. #include <signal.h>
  23. #include <stdio.h>
  24. +#include <stdlib.h>
  25. #include <string.h>
  26. #include <time.h>
  27. #include <unistd.h>
  28. -
  29. #include "pax.h"
  30. #include "extern.h"
  31. diff --git a/bin/pax/buf_subs.c b/bin/pax/buf_subs.c
  32. index 41f06ae31..30be3dc46 100644
  33. --- a/bin/pax/buf_subs.c
  34. +++ b/bin/pax/buf_subs.c
  35. @@ -36,6 +36,7 @@
  36. #include <sys/types.h>
  37. #include <sys/stat.h>
  38. +#include <sys/time.h>
  39. #include <stdio.h>
  40. #include <errno.h>
  41. #include <unistd.h>
  42. diff --git a/bin/pax/file_subs.c b/bin/pax/file_subs.c
  43. index 9f834bf17..57ebdb490 100644
  44. --- a/bin/pax/file_subs.c
  45. +++ b/bin/pax/file_subs.c
  46. @@ -35,6 +35,8 @@
  47. */
  48. #include <sys/stat.h>
  49. +#include <sys/time.h>
  50. +#include <sys/types.h>
  51. #include <err.h>
  52. #include <errno.h>
  53. #include <fcntl.h>
  54. diff --git a/bin/pax/sel_subs.c b/bin/pax/sel_subs.c
  55. index 17200b5a4..136f87c5d 100644
  56. --- a/bin/pax/sel_subs.c
  57. +++ b/bin/pax/sel_subs.c
  58. @@ -43,6 +43,7 @@
  59. #include <stdlib.h>
  60. #include <string.h>
  61. #include <time.h>
  62. +#include <unistd.h>
  63. #include "pax.h"
  64. #include "extern.h"
  65. diff --git a/bin/pax/tables.c b/bin/pax/tables.c
  66. index b700f1649..99790f986 100644
  67. --- a/bin/pax/tables.c
  68. +++ b/bin/pax/tables.c
  69. @@ -36,6 +36,7 @@
  70. #include <sys/types.h>
  71. #include <sys/stat.h>
  72. +#include <sys/time.h>
  73. #include <errno.h>
  74. #include <fcntl.h>
  75. #include <limits.h>
  76. --
  77. 2.12.2