mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
23 lines
472 B
Diff
23 lines
472 B
Diff
--- 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;
|