]> granicus.if.org Git - sudo/commitdiff
Include usersec.h on AIX to get IDtouser() prototype.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 21 Jun 2010 20:19:41 +0000 (16:19 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 21 Jun 2010 20:19:41 +0000 (16:19 -0400)
--HG--
branch : 1.7

pwutil.c

index 3b06b06ddc178fcc89095478ba003a65f8e482ac..fae59652c4fd5a418598ab00e5810f2eb2ecd34c 100644 (file)
--- a/pwutil.c
+++ b/pwutil.c
@@ -46,6 +46,9 @@
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif /* HAVE_UNISTD_H */
+#ifdef HAVE_SETAUTHDB
+# include <usersec.h>
+#endif /* HAVE_SETAUTHDB */
 #include <pwd.h>
 #include <grp.h>