repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cec: fix OS-X compilation. credits: Dustin Cooper
[deb_libcec.git]
/
src
/
lib
/
platform
/
sockets
/
socket.h
diff --git
a/src/lib/platform/sockets/socket.h
b/src/lib/platform/sockets/socket.h
index 388bb2d8a0d2fd13e2500207f13481ce31dfbbf9..9ef359679f1b0e48fb7634351d3f15cbbfe611d9 100644
(file)
--- 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