]> granicus.if.org Git - sudo/commitdiff
Include locale.h
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 9 Jan 2012 20:34:05 +0000 (15:34 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 9 Jan 2012 20:34:05 +0000 (15:34 -0500)
plugins/sudoers/testsudoers.c

index e4c83645782375b8e73489e21ed416199f0fea08..d63ca9230600e94b888aa2f2ed8cf75a8032957c 100644 (file)
@@ -60,6 +60,9 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <netdb.h>
+#ifdef HAVE_SETLOCALE
+# include <locale.h>
+#endif
 
 #include "tsgetgrpw.h"
 #include "sudoers.h"