From: Lars Op den Kamp Date: Tue, 7 Feb 2012 00:36:56 +0000 (+0100) Subject: cec: fix OS-X compilation. credits: Dustin Cooper X-Git-Tag: upstream/2.2.0~1^2~35^2~142 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;ds=sidebyside;h=8637ad53b004d3e88e515fbf91ea4f7f17a11721;p=deb_libcec.git cec: fix OS-X compilation. credits: Dustin Cooper --- diff --git a/src/lib/platform/sockets/socket.h b/src/lib/platform/sockets/socket.h index 388bb2d..9ef3596 100644 --- a/src/lib/platform/sockets/socket.h +++ b/src/lib/platform/sockets/socket.h @@ -40,6 +40,11 @@ #include "../posix/os-socket.h" #endif +/* Needed on Mac OS/X */ +#ifndef SOL_TCP +#define SOL_TCP IPPROTO_TCP +#endif + // Common socket operations namespace PLATFORM