aboutsummaryrefslogtreecommitdiff
path: root/devel/libmtdev/files/patch-test_mtdev-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libmtdev/files/patch-test_mtdev-test.c')
-rw-r--r--devel/libmtdev/files/patch-test_mtdev-test.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/libmtdev/files/patch-test_mtdev-test.c b/devel/libmtdev/files/patch-test_mtdev-test.c
new file mode 100644
index 000000000000..f8abed45cbe3
--- /dev/null
+++ b/devel/libmtdev/files/patch-test_mtdev-test.c
@@ -0,0 +1,16 @@
+--- test/mtdev-test.c.orig 2014-02-28 18:48:23 UTC
++++ test/mtdev-test.c
+@@ -28,11 +28,12 @@
+
+ #include <mtdev.h>
+ #include <stdio.h>
++#include <stdint.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+
+ /* year-proof millisecond event time */
+-typedef __u64 mstime_t;
++typedef uint64_t mstime_t;
+
+ static int use_event(const struct input_event *ev)
+ {