aboutsummaryrefslogtreecommitdiffstats
path: root/main/datefudge/musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/datefudge/musl.patch')
-rw-r--r--main/datefudge/musl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/datefudge/musl.patch b/main/datefudge/musl.patch
new file mode 100644
index 0000000000..95b8d07540
--- /dev/null
+++ b/main/datefudge/musl.patch
@@ -0,0 +1,11 @@
+--- old/datefudge.c
++++ new/datefudge.c
+@@ -78,7 +78,7 @@
+ return 0;
+ }
+
+-int gettimeofday(struct timeval *x, struct timezone *y) {
++int gettimeofday(struct timeval *__restrict x, void *__restrict y) {
+ return __gettimeofday(x,y);
+ }
+