Include libint.h where needed.

This commit is contained in:
Todd C. Miller
2011-05-16 16:37:11 -04:00
parent b643b190a7
commit 15bc74bd67
6 changed files with 17 additions and 2 deletions

View File

@@ -28,6 +28,9 @@
# include <stdlib.h>
# endif
#endif /* STDC_HEADERS */
#ifdef HAVE_LIBINTL_H
# include <libintl.h>
#endif
#include <usersec.h>
#include <uinfo.h>

View File

@@ -47,6 +47,9 @@
#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#ifdef HAVE_LIBINTL_H
# include <libintl.h>
#endif
#include "missing.h"
#include "alloc.h"

View File

@@ -20,6 +20,9 @@
#include <stdio.h>
#include <signal.h>
#ifdef HAVE_LIBINTL_H
# include <libintl.h>
#endif
#include "missing.h"

View File

@@ -50,7 +50,6 @@
#endif
#ifdef HAVE_LIBINTL_H
# include <libintl.h>
# if defined(__LINUX_PAM__)
# define PAM_TEXT_DOMAIN "Linux-PAM"
# elif defined(__sun__)

View File

@@ -39,6 +39,10 @@
# include <membership.h>
#endif
#ifdef HAVE_LIBINTL_H
# include <libintl.h>
#endif
/*
* Info pertaining to the invoking user.
*/

View File

@@ -24,9 +24,12 @@
#ifndef _SUDO_SUDO_H
#define _SUDO_SUDO_H
#ifdef HAVE_LIBINTL_H
# include <libintl.h>
#endif
#include <limits.h>
#include <pathnames.h>
#include "missing.h"
#include "alloc.h"
#include "error.h"