1 https://www.illumos.org/issues/5751
3 --- resource-agents-4.1.0/tools/send_arp.libnet.c.orig
4 +++ resource-agents-4.1.0/tools/send_arp.libnet.c
6 #include <clplumbing/cl_signal.h>
7 #include <clplumbing/cl_log.h>
9 +typedef uint8_t u_int8_t;
10 +typedef uint32_t u_int32_t;
12 #ifdef HAVE_LIBNET_1_0_API
13 # define LTYPE struct libnet_link_int
14 static u_char *mk_packet(u_int32_t ip, u_char *device, u_char *macaddr, u_char *broadcast, u_char *netmask, u_short arptype);