소스 검색

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

Holger Weiss 19 년 전
부모
커밋
238b7ae4ea
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      plugins-root/check_dhcp.c

+ 1 - 0
plugins-root/check_dhcp.c

@@ -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>