chiark / gitweb /
further empeg support
[disorder] / clients / playrtp.c
index 0b5bc047135bbd4c9b498e64626c30631dc7d094..2eca1c6a7c4c6ecfd69b079d98a657e0ebdad04f 100644 (file)
@@ -65,6 +65,7 @@
 #include <string.h>
 #include <assert.h>
 #include <errno.h>
+#include <netinet/in.h>
 
 #include "log.h"
 #include "mem.h"
 
 #define readahead linux_headers_are_borked
 
+/** @brief Obsolete synonym */
+#ifndef IPV6_JOIN_GROUP
+# define IPV6_JOIN_GROUP IPV6_ADD_MEMBERSHIP
+#endif
+
 /** @brief RTP socket */
 static int rtpfd;