summaryrefslogtreecommitdiff
path: root/system/sudo/musl-fix-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/sudo/musl-fix-headers.patch')
-rw-r--r--system/sudo/musl-fix-headers.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/sudo/musl-fix-headers.patch b/system/sudo/musl-fix-headers.patch
new file mode 100644
index 000000000..18a19b75d
--- /dev/null
+++ b/system/sudo/musl-fix-headers.patch
@@ -0,0 +1,10 @@
+--- ./include/sudo_compat.h.orig
++++ ./include/sudo_compat.h
+@@ -25,6 +25,7 @@
+ #include <stdio.h>
+ #include <stdarg.h>
+ #include <stddef.h> /* for rsize_t */
++#include <sys/types.h> /* for id_t */
+
+ /*
+ * Macros and functions that may be missing on some operating systems.