Add check for LONG_IS_QUAD
#undef MAXINT before including hpsecurity.h to silence an HP-UX warning Check for U?LONG_LONG_MAX in snprintf.c and use LONG_IS_QUAD
This commit is contained in:
8
sudo.c
8
sudo.c
@@ -64,7 +64,13 @@
|
||||
#include <netinet/in.h>
|
||||
#include <netdb.h>
|
||||
#if defined(HAVE_GETPRPWNAM) && defined(HAVE_SET_AUTH_PARAMETERS)
|
||||
#include <prot.h>
|
||||
# ifdef __hpux
|
||||
# undef MAXINT
|
||||
# include <hpsecurity.h>
|
||||
# else
|
||||
# include <sys/security.h>
|
||||
# endif /* __hpux */
|
||||
# include <prot.h>
|
||||
#endif /* HAVE_GETPRPWNAM && HAVE_SET_AUTH_PARAMETERS */
|
||||
|
||||
#include "sudo.h"
|
||||
|
Reference in New Issue
Block a user