--- plugins-root/check_dhcp.c 28 Jan 2007 21:46:41 -0000 1.8 +++ plugins-root/check_dhcp.c 18 Feb 2007 08:05:59 -0000 @@ -65,7 +65,7 @@ #include #include -#elif defined (__bsd__) +#elif defined (__bsd__) || defined (__APPLE__) #include #include @@ -301,7 +301,7 @@ memcpy(&client_hardware_address[0],&ifr.ifr_hwaddr.sa_data,6); -#elif defined(__bsd__) +#elif defined(__bsd__) || defined(__APPLE__) /* King 2004 see ACKNOWLEDGEMENTS */ int mib[6], len;