aboutsummaryrefslogtreecommitdiffstats
path: root/main/libcec/musl-fix.patch
blob: c77e0e5d9473ed0761152f91f8411662c5ba2a40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- libcec-libcec-2.1.3.orig/src/lib/platform/posix/serialport.cpp
+++ libcec-libcec-2.1.3/src/lib/platform/posix/serialport.cpp
@@ -37,7 +37,6 @@
 #include "lib/platform/util/baudrate.h"
 #include "lib/platform/posix/os-socket.h"
 
-#if defined(__APPLE__) || defined(__FreeBSD__)
 #ifndef XCASE
 #define XCASE	0
 #endif
@@ -47,10 +46,9 @@
 #ifndef IUCLC
 #define IUCLC	0
 #endif
-#else
+
 #ifdef HAVE_LOCKDEV
 #include <lockdev.h>
-#endif
 #endif
 
 using namespace std;