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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user