aboutsummaryrefslogtreecommitdiff
path: root/cad/opentimer/files/patch-ot_utility_logger.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cad/opentimer/files/patch-ot_utility_logger.hpp')
-rw-r--r--cad/opentimer/files/patch-ot_utility_logger.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/cad/opentimer/files/patch-ot_utility_logger.hpp b/cad/opentimer/files/patch-ot_utility_logger.hpp
new file mode 100644
index 000000000000..0b80b5c04342
--- /dev/null
+++ b/cad/opentimer/files/patch-ot_utility_logger.hpp
@@ -0,0 +1,12 @@
+- workaround for missing S_IRUSR,etc, see https://github.com/OpenTimer/OpenTimer/issues/46
+
+--- ot/utility/logger.hpp.orig 2021-09-12 22:40:42 UTC
++++ ot/utility/logger.hpp
+@@ -13,6 +13,7 @@
+ #include <mutex>
+ #include <fcntl.h>
+ #include <unistd.h>
++#include <sys/stat.h>
+
+ namespace ot {
+