Replace use of with . kernel headers already provides the needed definitions, moreover not all libc implementations provide if_packet.h e.g. musl Signed-off-by: Khem Raj Upstream-Status: Pending [From http://cgit.openembedded.org/openembedded-core/plain/meta/recipes-connectivity/irda-utils/irda-utils-0.9.18/musl.patch.] Signed-off-by: Bernd Kuhls Index: irda-utils-0.9.18/irdaping/irdaping.c =================================================================== --- irda-utils-0.9.18.orig/irdaping/irdaping.c +++ irda-utils-0.9.18/irdaping/irdaping.c @@ -33,7 +33,6 @@ #include #include #include /* For struct ifreq */ -#include /* For struct sockaddr_pkt */ #include /* For ARPHRD_IRDA */ #include /* For ETH_P_ALL */ #include /* For htons */ @@ -46,6 +45,7 @@ #include /* __cpu_to_le32 and co. */ #include /* For __u8 and co. */ +#include /* For struct sockaddr_pkt */ #include #ifndef AF_IRDA