203becec0b
Add patch to fix build for armv7, armhf. That patched version is being upstreamed to Alpine. Fork it now, so our builds are not blocked. Related: builds.postmarketos.org#72
15 lines
340 B
Diff
15 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)
|
|
|