[vlc-devel] commit: Use IPPROTO_IP if SOL_IP is missing ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Feb 25 17:14:57 CET 2009


vlc | branch: 0.9-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Feb 25 18:13:47 2009 +0200| [ad96fd239ddd9edd0eb9896127e33574eed861b2] | committer: Rémi Denis-Courmont 

Use IPPROTO_IP if SOL_IP is missing
(cherry picked from commit 71289a77408c0447ae938a77659b13710949c84e)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ad96fd239ddd9edd0eb9896127e33574eed861b2
---

 modules/stream_out/rtcp.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/stream_out/rtcp.c b/modules/stream_out/rtcp.c
index 3c1780e..39091a4 100644
--- a/modules/stream_out/rtcp.c
+++ b/modules/stream_out/rtcp.c
@@ -36,6 +36,10 @@
 
 #include <assert.h>
 
+#ifndef SOL_IP
+# define SOL_IP IPPROTO_IP
+#endif
+
 /*
  * NOTE on RTCP implementation:
  * - there is a single sender (us), no conferencing here! => n = sender = 1,




More information about the vlc-devel mailing list