aboutsummaryrefslogtreecommitdiffstats
path: root/main/libraw1394/clock_monotonic_raw.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/libraw1394/clock_monotonic_raw.patch')
-rw-r--r--main/libraw1394/clock_monotonic_raw.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/libraw1394/clock_monotonic_raw.patch b/main/libraw1394/clock_monotonic_raw.patch
new file mode 100644
index 0000000000..dd4f142688
--- /dev/null
+++ b/main/libraw1394/clock_monotonic_raw.patch
@@ -0,0 +1,12 @@
+--- ./tools/testlibraw.c.orig 2013-04-30 09:42:26.194087642 +0000
++++ ./tools/testlibraw.c 2013-04-30 09:43:01.231109699 +0000
+@@ -21,6 +21,9 @@
+ #include "../src/raw1394.h"
+ #include "../src/csr.h"
+
++#ifndef CLOCK_MONOTONIC_RAW
++#define CLOCK_MONOTONIC_RAW 4
++#endif
+
+ #define TESTADDR (CSR_REGISTER_BASE + CSR_CONFIG_ROM)
+