aboutsummaryrefslogtreecommitdiffstats
path: root/main/dvgrab/musl-fixes.patch
blob: 795530836caf0d8674d45e410d7ee43b20dee9db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- ./error.h.orig	2014-04-02 14:09:23.163839471 +0000
+++ ./error.h	2014-04-02 14:14:07.630616871 +0000
@@ -22,6 +22,10 @@
 
 #include <stdarg.h>
 
+#if !defined(__ASSERT_FUNCTION)
+#define __ASSERT_FUNCTION __func__
+#endif
+
 #ifdef __cplusplus
 extern "C"
 {
--- ./io.c.orig	2014-04-02 14:14:29.104210187 +0000
+++ ./io.c	2014-04-02 14:14:59.264575341 +0000
@@ -31,6 +31,8 @@
 #include <termios.h>
 #include <unistd.h>
 
+#include <sys/time.h>
+
 /* Application header files */
 #include "io.h"