patch-include_libbb_h 604 B

1234567891011121314151617181920212223
  1. diff -Nur busybox-1.17.0.orig/include/libbb.h busybox-1.17.0/include/libbb.h
  2. --- busybox-1.17.0.orig/include/libbb.h 2010-07-04 15:32:24.000000000 +0200
  3. +++ busybox-1.17.0/include/libbb.h 2010-07-08 12:27:04.531002165 +0200
  4. @@ -40,6 +40,9 @@
  5. /* Try to pull in PATH_MAX */
  6. #include <limits.h>
  7. #include <sys/param.h>
  8. +
  9. +#if !(defined __APPLE__ || defined __FreeBSD__ || defined __MirBSD__ )
  10. +
  11. #ifdef HAVE_MNTENT_H
  12. #include <mntent.h>
  13. #endif
  14. @@ -52,6 +55,9 @@
  15. #include <selinux/flask.h>
  16. #include <selinux/av_permissions.h>
  17. #endif
  18. +
  19. +#endif
  20. +
  21. #if ENABLE_LOCALE_SUPPORT
  22. # include <locale.h>
  23. #else