Include libint.h where needed.
This commit is contained in:
@@ -28,6 +28,9 @@
|
|||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
# endif
|
# endif
|
||||||
#endif /* STDC_HEADERS */
|
#endif /* STDC_HEADERS */
|
||||||
|
#ifdef HAVE_LIBINTL_H
|
||||||
|
# include <libintl.h>
|
||||||
|
#endif
|
||||||
#include <usersec.h>
|
#include <usersec.h>
|
||||||
#include <uinfo.h>
|
#include <uinfo.h>
|
||||||
|
|
||||||
|
@@ -47,6 +47,9 @@
|
|||||||
#ifdef HAVE_INTTYPES_H
|
#ifdef HAVE_INTTYPES_H
|
||||||
# include <inttypes.h>
|
# include <inttypes.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_LIBINTL_H
|
||||||
|
# include <libintl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "missing.h"
|
#include "missing.h"
|
||||||
#include "alloc.h"
|
#include "alloc.h"
|
||||||
|
@@ -20,6 +20,9 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
#ifdef HAVE_LIBINTL_H
|
||||||
|
# include <libintl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "missing.h"
|
#include "missing.h"
|
||||||
|
|
||||||
|
@@ -50,7 +50,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LIBINTL_H
|
#ifdef HAVE_LIBINTL_H
|
||||||
# include <libintl.h>
|
|
||||||
# if defined(__LINUX_PAM__)
|
# if defined(__LINUX_PAM__)
|
||||||
# define PAM_TEXT_DOMAIN "Linux-PAM"
|
# define PAM_TEXT_DOMAIN "Linux-PAM"
|
||||||
# elif defined(__sun__)
|
# elif defined(__sun__)
|
||||||
|
@@ -39,6 +39,10 @@
|
|||||||
# include <membership.h>
|
# include <membership.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBINTL_H
|
||||||
|
# include <libintl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Info pertaining to the invoking user.
|
* Info pertaining to the invoking user.
|
||||||
*/
|
*/
|
||||||
|
@@ -24,9 +24,12 @@
|
|||||||
#ifndef _SUDO_SUDO_H
|
#ifndef _SUDO_SUDO_H
|
||||||
#define _SUDO_SUDO_H
|
#define _SUDO_SUDO_H
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBINTL_H
|
||||||
|
# include <libintl.h>
|
||||||
|
#endif
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include <pathnames.h>
|
#include <pathnames.h>
|
||||||
|
|
||||||
#include "missing.h"
|
#include "missing.h"
|
||||||
#include "alloc.h"
|
#include "alloc.h"
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
|
Reference in New Issue
Block a user