[Nagiosplug-checkins] nagiosplug/plugins-root check_dhcp.c, 1.6, 1.7

Holger Weiss hweiss at users.sourceforge.net
Sat Jan 27 17:37:36 CET 2007


Update of /cvsroot/nagiosplug/nagiosplug/plugins-root
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv17005

Modified Files:
	check_dhcp.c 
Log Message:
Include <sys/param.h> which is a prerequisite for <sys/sysctl.h> on
NetBSD and OpenBSD (at least).


Index: check_dhcp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-root/check_dhcp.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- check_dhcp.c	20 Oct 2006 06:24:10 -0000	1.6
+++ check_dhcp.c	27 Jan 2007 16:37:34 -0000	1.7
@@ -68,6 +68,7 @@
 #elif defined (__bsd__)
 
 #include <netinet/if_ether.h>
+#include <sys/param.h>
 #include <sys/sysctl.h>
 #include <net/if_dl.h>
 





More information about the Commits mailing list