[sudo-workers] [PATCH] include/sudo_compat.h: include <sys/types.h> for uid_t and gid_t.
Anthony G. Basile
basile at opensource.dyc.edu
Wed Apr 8 18:07:25 MDT 2015
# HG changeset patch
# User Anthony G. Basile <blueness at gentoo.org>
# Date 1428537288 14400
# Wed Apr 08 19:54:48 2015 -0400
# Node ID 31ab3486028abd0a82135cd044fa338f3623f294
# Parent 2eeeb74b91747f9c88276e8afdbd746ba42a188e
include/sudo_compat.h: include <sys/types.h> for uid_t and gid_t.
sudo_compat.h makes reference to uid_t and gid_t but does not include
<sys/types.h>. Because of header stacking this works on glibc systems,
but fails on both uClibc and musl. So we add this include as required
diff -r 2eeeb74b9174 -r 31ab3486028a include/sudo_compat.h
--- a/include/sudo_compat.h Wed Apr 08 15:29:59 2015 -0600
+++ b/include/sudo_compat.h Wed Apr 08 19:54:48 2015 -0400
@@ -27,6 +27,7 @@
# include <stddef.h>
* Macros and functions that may be missing on some operating systems.
Anthony G. Basile, Ph. D.
Chair of Information Technology
Buffalo, NY 14201
More information about the sudo-workers