cec: fix OS-X compilation. credits: Dustin Cooper
[deb_libcec.git] / src / lib / platform / sockets / socket.h
index 388bb2d8a0d2fd13e2500207f13481ce31dfbbf9..9ef359679f1b0e48fb7634351d3f15cbbfe611d9 100644 (file)
 #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