diff options
author | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | 2003-03-07 22:11:25 +0000 |
---|---|---|
committer | Jeremy T. Bouse <undrgrid@users.sourceforge.net> | 2003-03-07 22:11:25 +0000 |
commit | 7ceff0d5a95f5c5f34235ef6682595f169864d2f (patch) | |
tree | e153a07b7ba9416c1b7262ce00542e55cab9cb93 /plugins/netutils.h.in | |
parent | 1f7520fae4a776e0af2c5221071f1ff300de8727 (diff) | |
download | monitoring-plugins-7ceff0d5a95f5c5f34235ef6682595f169864d2f.tar.gz |
Added getaddrinfo.[ch] & gethostbyname.[ch] to provide RFC2553 functions
if missing in system libs and lwres not present
Moved all references to netdb.h and sys/socket.h into common.h.in
Modified automake call in tools/setup to include adding missing files
so config.sub and config.guess will be available
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@376 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/netutils.h.in')
-rw-r--r-- | plugins/netutils.h.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/netutils.h.in b/plugins/netutils.h.in index be4ae241..1907ab7e 100644 --- a/plugins/netutils.h.in +++ b/plugins/netutils.h.in | |||
@@ -34,10 +34,9 @@ | |||
34 | #undef HAVE_STRINGS_H | 34 | #undef HAVE_STRINGS_H |
35 | #undef HAVE_STRING_H | 35 | #undef HAVE_STRING_H |
36 | 36 | ||
37 | #include <sys/socket.h> | 37 | #include "common.h" |
38 | #include <netinet/in.h> | 38 | #include <netinet/in.h> |
39 | #include <arpa/inet.h> | 39 | #include <arpa/inet.h> |
40 | #include <netdb.h> | ||
41 | 40 | ||
42 | void socket_timeout_alarm_handler (int); | 41 | void socket_timeout_alarm_handler (int); |
43 | 42 | ||