summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-24 20:58:20 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-24 20:58:20 +0100
commit12d5ea5ca2d9a47a1cab06caf2b36967667a3daf (patch)
treed0429e490187e4dabbd4741deccbd098e47eee24
parent5eb4ab1c139ea38ebe6bb4acba08b09ee7d77d3c (diff)
Add missing include of limits.h for PATH_MAX
-rw-r--r--evtest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/evtest.c b/evtest.c
index 548c203..be5e42c 100644
--- a/evtest.c
+++ b/evtest.c
@@ -60,6 +60,7 @@
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
+#include <limits.h> /* PATH_MAX */
#define BITS_PER_LONG (sizeof(long) * 8)
#define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)