aboutsummaryrefslogblamecommitdiffstats
path: root/community/libcec/musl-fix.patch
blob: c77e0e5d9473ed0761152f91f8411662c5ba2a40 (plain) (tree)





















                                                                  
--- 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;