92260297c3624bbf837d660c0dd8a0cf9743b4c1
[feed/packages.git] / utils / evtest / patches / 010-musl.patch
1 From 12d5ea5ca2d9a47a1cab06caf2b36967667a3daf Mon Sep 17 00:00:00 2001
2 From: Leo <thinkabit.ukim@gmail.com>
3 Date: Sun, 24 Nov 2019 20:58:20 +0100
4 Subject: [PATCH] Add missing include of limits.h for PATH_MAX
5
6 ---
7 evtest.c | 1 +
8 1 file changed, 1 insertion(+)
9
10 diff --git a/evtest.c b/evtest.c
11 index 548c203..be5e42c 100644
12 --- a/evtest.c
13 +++ b/evtest.c
14 @@ -59,6 +59,7 @@
15 #include <sys/time.h>
16 #include <sys/types.h>
17 #include <unistd.h>
18 +#include <limits.h> /* PATH_MAX */
19
20 #define BITS_PER_LONG (sizeof(long) * 8)
21 #define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
22 --
23 2.22.0
24