]> granicus.if.org Git - sudo/commitdiff
Include errno.h before sudo.h to avoid conflicting with the system
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 30 Aug 2011 13:45:07 +0000 (09:45 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 30 Aug 2011 13:45:07 +0000 (09:45 -0400)
definition of errno.

--HG--
branch : 1.7

alias.c

diff --git a/alias.c b/alias.c
index 96b883b771238e5d625639344256438e8a098692..417715364d378b5b3510013c58ea1ecb7de1bf35 100644 (file)
--- a/alias.c
+++ b/alias.c
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif /* HAVE_UNISTD_H */
+#include <errno.h>
 
 #include "sudo.h"
 #include "parse.h"
 #include "redblack.h"
 #include <gram.h>
-#include <errno.h>
 
 /*
  * Globals