libpcap: patch to add limits.h to pcap-usb-linux.c
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Wed, 1 Aug 2018 12:49:35 +0000 (12:49 +0000)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:47:53 +0000 (17:47 +0100)
commit02cf9caf637e97b8a52cb6732d401945c4d4ed16
tree818a02c610d0f310de6db3bdb4e13fa29235382b
parent0e06910ea1afaab1e3ca6d274634f8f91d8f1d07
libpcap: patch to add limits.h to pcap-usb-linux.c

The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
This is an upstream-applied patch that fixes 'PATH_MAX' and 'NAME_MAX'
undeclared when compiling on musl with CONFIG_PCAP_HAS_USB.

[aafa351] pcap-usb-linux.c: add missing limits.h for musl systems.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(backported from 0317fc3658eb55596c72647f2e6c68bf06bf36ff)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
package/libs/libpcap/patches/205-pcap-usb-linux.c-add-missing-limits.h.patch [new file with mode: 0644]