]> code.ossystems Code Review - openembedded-core.git/blob
01773834c7ca419577bce2d9492be70034908979
[openembedded-core.git] /
1 From aafa3512b7b742f5e66a5543e41974cc5e7eebfa Mon Sep 17 00:00:00 2001
2 From: maxice8 <thinkabit.ukim@gmail.com>
3 Date: Sun, 22 Jul 2018 18:54:17 -0300
4 Subject: [PATCH] pcap-usb-linux.c: add missing limits.h for musl systems.
5
6 fix compilation on musl libc systems like Void Linux and Alpine.
7
8 Upstream-Status: Backport [https://github.com/the-tcpdump-group/libpcap/commit/d557c98a16dc254aaff03762b694fe624e180bea]
9
10 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
11 ---
12  pcap-usb-linux.c | 1 +
13  1 file changed, 1 insertion(+)
14
15 diff --git a/pcap-usb-linux.c b/pcap-usb-linux.c
16 index 6f8adf65..b92c05ea 100644
17 --- a/pcap-usb-linux.c
18 +++ b/pcap-usb-linux.c
19 @@ -50,6 +50,7 @@
20  #include <stdlib.h>
21  #include <unistd.h>
22  #include <fcntl.h>
23 +#include <limits.h>
24  #include <string.h>
25  #include <dirent.h>
26  #include <byteswap.h>
27 -- 
28 2.17.1
29