1Replace use of <net/if_packet.h> with <linux/if_packet.h>. 2 3kernel headers <linux/if_packet.h> already provides the 4needed definitions, moreover not all libc implementations 5provide if_packet.h e.g. musl 6 7Signed-off-by: Khem Raj <raj.khem@gmail.com> 8Upstream-Status: Pending 9 10Index: irda-utils-0.9.18/irdaping/irdaping.c 11=================================================================== 12--- irda-utils-0.9.18.orig/irdaping/irdaping.c 13+++ irda-utils-0.9.18/irdaping/irdaping.c 14@@ -33,7 +33,6 @@ 15 #include <sys/socket.h> 16 #include <sys/ioctl.h> 17 #include <net/if.h> /* For struct ifreq */ 18-#include <net/if_packet.h> /* For struct sockaddr_pkt */ 19 #include <net/if_arp.h> /* For ARPHRD_IRDA */ 20 #include <netinet/if_ether.h> /* For ETH_P_ALL */ 21 #include <netinet/in.h> /* For htons */ 22@@ -46,6 +45,7 @@ 23 #include <asm/byteorder.h> /* __cpu_to_le32 and co. */ 24 25 #include <linux/types.h> /* For __u8 and co. */ 26+#include <linux/if_packet.h> /* For struct sockaddr_pkt */ 27 #include <irda.h> 28 29 #ifndef AF_IRDA 30