16 lines
340 B
Diff
16 lines
340 B
Diff
|
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)
|
||
|
|