sudo: fix musl build: uid_t is defined in unistd.h (from chris2).

This commit is contained in:
Juan RP 2015-03-17 11:03:23 +01:00
parent 4ca0e0951c
commit 6ea3c122ad
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,10 @@
--- include/sudo_compat.h.orig 2015-03-17 11:02:15.190461995 +0100
+++ include/sudo_compat.h 2015-03-17 11:02:36.493190547 +0100
@@ -27,6 +27,7 @@
# include <stddef.h>
#endif
#include <stdarg.h>
+#include <unistd.h>
/*
* Macros and functions that may be missing on some operating systems.

View file

@ -1,7 +1,7 @@
# Template build file for 'sudo'.
pkgname=sudo
version=1.8.12
revision=2
revision=3
lib32disabled=yes
build_style=gnu-configure
configure_args="--with-ignore-dot -with-all-insults --with-env-editor