package/libqmi: fix build when libc doesn't define ARPHRD_RAWIP
authorAleksander Morgado <aleksander@aleksander.es>
Mon, 29 Mar 2021 22:35:42 +0000 (00:35 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 30 Mar 2021 19:41:03 +0000 (21:41 +0200)
commit91e97b56dcab8c9e404a19ac4e7599145c3bc948
tree4c300d2f45408c24a039ffb4e1f2b1f2f3dfaf5b
parentebe599de08ec4aa521d9eeb0d6eb452c1285774f
package/libqmi: fix build when libc doesn't define ARPHRD_RAWIP

The ARPHRD_RAWIP symbol is used in the rmnet backend in the link
management support now included in libqmi.

If libc doesn't provide this symbol yet, define it ourselves. The
symbol will only be used if rmnet is enabled in the kernel anyway.

This patch will be included in the next libqmi 1.28.4.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
[yann.morin.1998@free.fr:
  - do an actual backport now it's been applied upstream
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libqmi/0001-libqmi-fix-build-when-ARPHRD_RAWIP-isn-t-defined-in-.patch [new file with mode: 0644]