2
1

0003-mount.nilfs-drop-include-rpc-types.h.patch 878 B

1234567891011121314151617181920212223242526272829303132
  1. From a924a05ea6fd8c5284983a09d1ea8993124b6b77 Mon Sep 17 00:00:00 2001
  2. From: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
  3. Date: Thu, 28 Dec 2017 20:26:09 +0100
  4. Subject: [PATCH] mount.nilfs: drop include rpc/types.h
  5. rpc/types.h does not exist on low-footprint musl toolchains,
  6. and is only required for the boolean types, which musl provides
  7. elsewhere.
  8. This commit drops the include completely.
  9. Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
  10. ---
  11. sbin/mount/sundries.h | 3 ---
  12. 1 file changed, 3 deletions(-)
  13. diff --git a/sbin/mount/sundries.h b/sbin/mount/sundries.h
  14. index b3064a7..94d8ce4 100644
  15. --- a/sbin/mount/sundries.h
  16. +++ b/sbin/mount/sundries.h
  17. @@ -15,9 +15,6 @@
  18. #include <signal.h>
  19. #include <stdarg.h>
  20. #include <stdlib.h>
  21. -#if !defined(bool_t) && !defined(__GLIBC__)
  22. -#include <rpc/types.h>
  23. -#endif
  24. extern int mount_quiet;
  25. --
  26. 1.8.5.rc3