blob: 647c9dc5400723b001aa7723ceabe2a6a76f968e [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From 12d5ea5ca2d9a47a1cab06caf2b36967667a3daf Mon Sep 17 00:00:00 2001
2From: Leo <thinkabit.ukim@gmail.com>
3Date: Sun, 24 Nov 2019 20:58:20 +0100
4Subject: [PATCH] Add missing include of limits.h for PATH_MAX
5
6---
7 evtest.c | 1 +
8 1 file changed, 1 insertion(+)
9
10--- a/evtest.c
11+++ b/evtest.c
12@@ -59,6 +59,7 @@
13 #include <sys/time.h>
14 #include <sys/types.h>
15 #include <unistd.h>
16+#include <limits.h> /* PATH_MAX */
17
18 #define BITS_PER_LONG (sizeof(long) * 8)
19 #define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)