Code

Include <sys/param.h> which is a prerequisite for <sys/sysctl.h> on
authorHolger Weiss <hweiss@users.sourceforge.net>
Sat, 27 Jan 2007 16:37:34 +0000 (16:37 +0000)
committerHolger Weiss <hweiss@users.sourceforge.net>
Sat, 27 Jan 2007 16:37:34 +0000 (16:37 +0000)
NetBSD and OpenBSD (at least).

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1584 f882894a-f735-0410-b71e-b25c423dba1c

plugins-root/check_dhcp.c

index ce0e0cbfcbb6b398641ac453f839a16a13c90829..fbfb3311b2f4dc3b9270fe71a74c43a576b79036 100644 (file)
@@ -68,6 +68,7 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
 #elif defined (__bsd__)
 
 #include <netinet/if_ether.h>
+#include <sys/param.h>
 #include <sys/sysctl.h>
 #include <net/if_dl.h>