aboutsummaryrefslogtreecommitdiffstats
path: root/community/evtest/fix-ppc64le-musl.patch
blob: 74216fc96b4e8f77ffaa9a1f858f049882e50c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/evtest.c b/evtest.c
index 37d4f85..018d1ac 100644
--- a/evtest.c
+++ b/evtest.c
@@ -59,6 +59,9 @@
 #include <sys/time.h>
 #include <sys/types.h>
 #include <unistd.h>
+#ifndef PATH_MAX
+#include <sys/limits.h> /* for PATH_MAX */
+#endif
 
 #define BITS_PER_LONG (sizeof(long) * 8)
 #define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)