summaryrefslogtreecommitdiffstats
path: root/package/sudo/0001-musl-fix-missing-header.patch
blob: e3681b2fcc37bef35273ea3f9066feedc26e8774 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Header sys/types.h is needed for id_t

Patch reported as bug upstream:
http://bugzilla.sudo.ws/show_bug.cgi?id=711

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>

diff -purN sudo-1.8.14p3.orig/include/sudo_util.h sudo-1.8.14p3/include/sudo_util.h
--- sudo-1.8.14p3.orig/include/sudo_util.h	2015-07-22 14:22:49.000000000 +0200
+++ sudo-1.8.14p3/include/sudo_util.h	2015-08-01 09:35:15.077909614 +0200
@@ -23,6 +23,8 @@
 # include "compat/stdbool.h"
 #endif /* HAVE_STDBOOL_H */
 
+#include <sys/types.h>
+
 /*
  * Macros for operating on struct timeval.
  */
OpenPOWER on IntegriCloud