diff options
Diffstat (limited to 'plugins-root/check_dhcp.c')
-rw-r--r-- | plugins-root/check_dhcp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins-root/check_dhcp.c b/plugins-root/check_dhcp.c index 0c18d5fc..d74d4ac7 100644 --- a/plugins-root/check_dhcp.c +++ b/plugins-root/check_dhcp.c | |||
@@ -57,9 +57,10 @@ const char *email = "devel@monitoring-plugins.org"; | |||
57 | #include <netinet/in.h> | 57 | #include <netinet/in.h> |
58 | #include <net/if.h> | 58 | #include <net/if.h> |
59 | #include <arpa/inet.h> | 59 | #include <arpa/inet.h> |
60 | |||
60 | #if HAVE_SYS_SOCKIO_H | 61 | #if HAVE_SYS_SOCKIO_H |
61 | #include <sys/sockio.h> | 62 | #include <sys/sockio.h> |
62 | #endif | 63 | #endif // HAVE_SYS_SOCKIO_H |
63 | 64 | ||
64 | #if defined( __linux__ ) | 65 | #if defined( __linux__ ) |
65 | 66 | ||
@@ -106,7 +107,7 @@ static int dl_open(const char *, int, int *); | |||
106 | static int dl_bind(int, int, u_char *); | 107 | static int dl_bind(int, int, u_char *); |
107 | long mac_addr_dlpi( const char *, int, u_char *); | 108 | long mac_addr_dlpi( const char *, int, u_char *); |
108 | 109 | ||
109 | #endif | 110 | #endif // __sun__ || __solaris__ || __hpux |
110 | 111 | ||
111 | 112 | ||
112 | 113 | ||