]> 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:46:12 +0000 (09:46 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 30 Aug 2011 13:46:12 +0000 (09:46 -0400)
definition of errno.

plugins/sudoers/alias.c

index 0b2ad0e064a52a8dbb65ef8c800d081dc35d13e0..20f26451c559fa849b86e472229382d1fef2c37c 100644 (file)
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif /* HAVE_UNISTD_H */
+#include <errno.h>
 
 #include "sudoers.h"
 #include "parse.h"
 #include "redblack.h"
 #include <gram.h>
-#include <errno.h>
 
 /*
  * Globals