0001-musl-fix-missing-header.patch 570 B

12345678910111213141516171819
  1. Header sys/types.h is needed for id_t
  2. Patch reported as bug upstream:
  3. http://bugzilla.sudo.ws/show_bug.cgi?id=711
  4. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
  5. diff -purN sudo-1.8.14p3.orig/include/sudo_util.h sudo-1.8.14p3/include/sudo_util.h
  6. --- sudo-1.8.14p3.orig/include/sudo_util.h 2015-07-22 14:22:49.000000000 +0200
  7. +++ sudo-1.8.14p3/include/sudo_util.h 2015-08-01 09:35:15.077909614 +0200
  8. @@ -23,6 +23,8 @@
  9. # include "compat/stdbool.h"
  10. #endif /* HAVE_STDBOOL_H */
  11. +#include <sys/types.h>
  12. +
  13. /*
  14. * Macros for operating on struct timeval.
  15. */