mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
Fixed compile on non-glibc platforms
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1522 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
b699c208e8
commit
2024094a6e
2 changed files with 5 additions and 5 deletions
|
|
@ -67,8 +67,8 @@ install-exec-local: $(noinst_PROGRAMS)
|
|||
##############################################################################
|
||||
# the actual targets
|
||||
check_dhcp_LDADD = $(NETLIBS)
|
||||
check_icmp_LDADD = $(SOCKETLIBS)
|
||||
check_icmp_LDADD = $(NETLIBS) $(SOCKETLIBS)
|
||||
pst3_LDADD = -lkvm
|
||||
|
||||
check_dhcp_DEPENDENCIES = check_dhcp.c $(NETOBJS) $(DEPLIBS)
|
||||
check_icmp_DEPENDENCIES = check_icmp.c
|
||||
check_icmp_DEPENDENCIES = check_icmp.c $(NETOBJS)
|
||||
|
|
|
|||
|
|
@ -42,8 +42,9 @@
|
|||
*
|
||||
*****************************************************************************/
|
||||
|
||||
/* progname may be check_ldaps */
|
||||
//char *progname = "check_ldap";
|
||||
/* progname may change */
|
||||
/* char *progname = "check_icmp"; */
|
||||
char *progname;
|
||||
const char *revision = "$Revision$";
|
||||
const char *copyright = "2005-2006";
|
||||
const char *email = "nagiosplug-devel@lists.sourceforge.net";
|
||||
|
|
@ -195,7 +196,6 @@ extern char *optarg;
|
|||
extern char **environ;
|
||||
|
||||
/** global variables **/
|
||||
static char *progname;
|
||||
static struct rta_host **table, *cursor, *list;
|
||||
static threshold crit = {80, 500000}, warn = {40, 200000};
|
||||
static int mode, protocols, sockets, debug = 0, timeout = 10;
|
||||
|
|
|
|||
Loading…
Reference in a new issue