Add missing includes of libintl.h.

This commit is contained in:
Todd C. Miller
2011-05-16 16:50:09 -04:00
parent d006b00a4f
commit c234363562
5 changed files with 15 additions and 0 deletions

View File

@@ -23,6 +23,9 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <setjmp.h> #include <setjmp.h>
#ifdef HAVE_LIBINTL_H
# include <libintl.h>
#endif
#include "missing.h" #include "missing.h"
#include "alloc.h" #include "alloc.h"

View File

@@ -55,6 +55,9 @@
#ifndef HAVE_TIMESPEC #ifndef HAVE_TIMESPEC
# include "compat/timespec.h" # include "compat/timespec.h"
#endif #endif
#ifdef HAVE_LIBINTL_H
# include <libintl.h>
#endif
#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>
#include <limits.h> #include <limits.h>

View File

@@ -22,6 +22,9 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#ifdef HAVE_LIBINTL_H
# include <libintl.h>
#endif
#include "missing.h" #include "missing.h"
#include "error.h" #include "error.h"

View File

@@ -59,6 +59,9 @@ struct rtentry;
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#endif /* HAVE_UNISTD_H */ #endif /* HAVE_UNISTD_H */
#ifdef HAVE_LIBINTL_H
# include <libintl.h>
#endif
#include <netdb.h> #include <netdb.h>
#include <errno.h> #include <errno.h>
#ifdef _ISC #ifdef _ISC

View File

@@ -26,6 +26,9 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#ifdef HAVE_LIBINTL_H
# include <libintl.h>
#endif
#include "missing.h" #include "missing.h"