summaryrefslogtreecommitdiffstats
path: root/plugins-root/check_dhcp.c
diff options
context:
space:
mode:
authorHolger Weiss <hweiss@users.sourceforge.net>2007-01-27 16:37:34 (GMT)
committerHolger Weiss <hweiss@users.sourceforge.net>2007-01-27 16:37:34 (GMT)
commit238b7ae4ea544162e8570fe375c9030b86383577 (patch)
tree354c4c53ed7315327972b038178afadc79536546 /plugins-root/check_dhcp.c
parentb06427a14098e81675bd63957f0e12259162222c (diff)
downloadmonitoring-plugins-238b7ae4ea544162e8570fe375c9030b86383577.tar.gz
Include <sys/param.h> which is a prerequisite for <sys/sysctl.h> on
NetBSD and OpenBSD (at least). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1584 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-root/check_dhcp.c')
-rw-r--r--plugins-root/check_dhcp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c
index ce0e0cb..fbfb331 100644
--- a/plugins-root/check_dhcp.c
+++ b/plugins-root/check_dhcp.c
@@ -68,6 +68,7 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
68#elif defined (__bsd__) 68#elif defined (__bsd__)
69 69
70#include <netinet/if_ether.h> 70#include <netinet/if_ether.h>
71#include <sys/param.h>
71#include <sys/sysctl.h> 72#include <sys/sysctl.h>
72#include <net/if_dl.h> 73#include <net/if_dl.h>
73 74