--- libcec-2.1.4.orig/src/lib/platform/posix/serialport.cpp	2013-12-15 12:48:14.000000000 +0100
+++ libcec-2.1.4/src/lib/platform/posix/serialport.cpp	2014-01-12 22:04:41.000000000 +0100
@@ -37,7 +37,7 @@
 #include "lib/platform/util/baudrate.h"
 #include "lib/platform/posix/os-socket.h"
 
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__APPLE__) || defined(__FreeBSD__) || !defined(__GLIBC__)
 #ifndef XCASE
 #define XCASE	0
 #endif
