The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Changes 06
arp_lookup_bsd.c 14
send_packet_bsd.c 02
3 files changed (This is a version diff) 112
@@ -1,3 +1,9 @@
+Changes between 1.0.8 and 1.0.9
+
+- missing includes for BSD (thanks to Damyan Ivanov)
+
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+
 Changes between 1.0.7 and 1.0.8
 
 - fixed bugfix (see https://rt.cpan.org/Ticket/Display.html?id=86223)
@@ -22,13 +22,16 @@ See the GNU General Public License for more details.
 #include <sys/socket.h>
 #include <net/if_dl.h>
 #include <net/route.h>
+#include <stdint.h>
 #include <net/if_arp.h>
 #include <net/if.h>
 #include <netinet/in.h>
 #include <netinet/if_ether.h>
 #include <arpa/inet.h>
 #include <sys/sysctl.h>
-#include <sys/types.h>
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
 #include "arp.h"
 
 #define ROUNDUP(a) \
@@ -24,6 +24,8 @@ See the GNU General Public License for more details.
 #include <fcntl.h>
 #include <net/bpf.h>
 #include <net/if.h>
+#include <string.h>
+#include <stdio.h>
 #include "arp.h"
 
 int send_packet_bsd(const char *dev, u_char *packet, u_int packetsize)