repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80b7225
)
cec: fix OS-X compilation. credits: Dustin Cooper
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 7 Feb 2012 00:36:56 +0000
(
01:36
+0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 7 Feb 2012 00:36:56 +0000
(
01:36
+0100)
src/lib/platform/sockets/socket.h
patch
|
blob
|
blame
|
history
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