Include libint.h where needed.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
@@ -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"
|
||||
|
@@ -20,6 +20,9 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <signal.h>
|
||||
#ifdef HAVE_LIBINTL_H
|
||||
# include <libintl.h>
|
||||
#endif
|
||||
|
||||
#include "missing.h"
|
||||
|
||||
|
@@ -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__)
|
||||
|
@@ -39,6 +39,10 @@
|
||||
# include <membership.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBINTL_H
|
||||
# include <libintl.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Info pertaining to the invoking user.
|
||||
*/
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user