2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-05 00:35:14 +00:00

Don't include <sys/param.h>. We only needed it for MAXPATHLEN,

MAXHOSTNAMELEN and the MIN/MAX macros.  We now use PATH_MAX and
HOST_NAME_MAX throughout without falling back on MAXPATHLEN or
MAXHOSTNAMELEN and define our own MIN/MAX macros as needed.
This commit is contained in:
Todd C. Miller
2012-12-04 10:40:47 -05:00
parent 3c9da162e4
commit 1d7072fe09
81 changed files with 170 additions and 258 deletions

View File

@@ -41,7 +41,6 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#define SUDO_ERROR_WRAP 0