]> granicus.if.org Git - sudo/commitdiff
Add missing includes of libintl.h.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 16 May 2011 20:50:09 +0000 (16:50 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 16 May 2011 20:50:09 +0000 (16:50 -0400)
plugins/sudoers/plugin_error.c
plugins/sudoers/sudoreplay.c
src/error.c
src/net_ifs.c
src/sesh.c

index 786aee38e710259d02b57e0d80bd636f7642d9d3..0c608cdc493586b04aaf760c75c1228d559439e3 100644 (file)
@@ -23,6 +23,9 @@
 #include <stdlib.h>
 #include <string.h>
 #include <setjmp.h>
+#ifdef HAVE_LIBINTL_H
+# include <libintl.h>
+#endif
 
 #include "missing.h"
 #include "alloc.h"
index c710b42a016f18f65d38d21e6f6d22c4576da36d..6849e77d673a840d0a4b6bf8402efcedcf454c30 100644 (file)
@@ -55,6 +55,9 @@
 #ifndef HAVE_TIMESPEC
 # include "compat/timespec.h"
 #endif
+#ifdef HAVE_LIBINTL_H
+# include <libintl.h>
+#endif
 #include <ctype.h>
 #include <errno.h>
 #include <limits.h>
index 2b6d5f879ee9a737afe1a4b2d57a8bd7bca4a130..87a16c7477f341db89f5f9160c15509e4caa0692 100644 (file)
@@ -22,6 +22,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#ifdef HAVE_LIBINTL_H
+# include <libintl.h>
+#endif
 
 #include "missing.h"
 #include "error.h"
index c1c13b937eb94e6eb3bb31d179f91b581eb8366f..8814a54f206f1770e5ec7608e01e535fe367bacc 100644 (file)
@@ -59,6 +59,9 @@ struct rtentry;
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif /* HAVE_UNISTD_H */
+#ifdef HAVE_LIBINTL_H
+# include <libintl.h>
+#endif
 #include <netdb.h>
 #include <errno.h>
 #ifdef _ISC
index 4b8a2698b65785e5c19e3512766c67ecc232a714..15d93f74f1b01a7fb0e540cdf0fc17b880b88f92 100644 (file)
@@ -26,6 +26,9 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#ifdef HAVE_LIBINTL_H
+# include <libintl.h>
+#endif
 
 #include "missing.h"