chiark / gitweb /
more empeg fixes
[disorder] / clients / playrtp.c
index 0b5bc047135bbd4c9b498e64626c30631dc7d094..6e428aa63b7ac91159ee825cbef06d87926129d3 100644 (file)
@@ -65,6 +65,8 @@
 #include <string.h>
 #include <assert.h>
 #include <errno.h>
+#include <netinet/in.h>
+#include <sys/time.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;