2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Solaris 2.6 has the prototypes for inet_pton() and inet_ntop() in

resolv.h.
This commit is contained in:
Todd C. Miller
2015-07-09 10:11:25 -06:00
parent b73d96804b
commit 43a57126ea
7 changed files with 33 additions and 0 deletions

View File

@@ -51,6 +51,10 @@
#include <arpa/inet.h>
#include <netinet/in.h>
#ifdef NEED_RESOLV_H
# include <arpa/nameser.h>
# include <resolv.h>
#endif /* NEED_RESOLV_H */
#include "sudo_compat.h"
#include "compat/getaddrinfo.h"