void-packages/srcpkgs/sudo/patches/musl.patch

13 lines
329 B
Diff

--- include/sudo_util.h.orig 2015-07-17 07:49:35.184634311 +0200
+++ include/sudo_util.h 2015-07-17 07:50:05.018046508 +0200
@@ -23,6 +23,10 @@
# include "compat/stdbool.h"
#endif /* HAVE_STDBOOL_H */
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h> /* id_t */
+#endif
+
/*
* Macros for operating on struct timeval.
*/