sysvinit-2.88-sysmacros.patch 570 B

123456789101112131415161718192021222324
  1. Newer C libraries omit this include from sys/types.h.
  2. --- a/src/bootlogd.c
  3. +++ b/src/bootlogd.c
  4. @@ -32,6 +32,7 @@
  5. *
  6. */
  7. +#include <sys/sysmacros.h>
  8. #include <sys/types.h>
  9. #include <sys/time.h>
  10. #include <sys/stat.h>
  11. diff -Nru a/src/mountpoint.c b/src/mountpoint.c
  12. --- a/src/mountpoint.c 2005-09-10 11:32:27.000000000 +0200
  13. +++ b/src/mountpoint.c 2018-10-01 20:40:37.166029012 +0200
  14. @@ -14,6 +14,7 @@
  15. * 2 of the License, or (at your option) any later version.
  16. */
  17. +#include <sys/sysmacros.h>
  18. #include <sys/stat.h>
  19. #include <unistd.h>
  20. #include <stdlib.h>