From: Todd C. Miller Date: Tue, 30 Aug 2011 13:46:12 +0000 (-0400) Subject: Include errno.h before sudo.h to avoid conflicting with the system X-Git-Tag: SUDO_1_8_3~51^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55896f636ea94740ee8cdf7b1bab6a4ac2f93ec1;p=sudo Include errno.h before sudo.h to avoid conflicting with the system definition of errno. --- diff --git a/plugins/sudoers/alias.c b/plugins/sudoers/alias.c index 0b2ad0e06..20f26451c 100644 --- a/plugins/sudoers/alias.c +++ b/plugins/sudoers/alias.c @@ -39,12 +39,12 @@ #ifdef HAVE_UNISTD_H # include #endif /* HAVE_UNISTD_H */ +#include #include "sudoers.h" #include "parse.h" #include "redblack.h" #include -#include /* * Globals