OSX and BeOS networking fix (socklen_t)
[ffmpeg.git] / libavformat / barpainet.h
index 461403b3fa4d8073a8318f540aaeacaa5163ed94..665fe2ab1476790240fd2932ba6a4003d0b5ca93 100644 (file)
@@ -16,6 +16,8 @@ struct ip_mreq {
     struct in_addr imr_interface;  /* local IP address of interface */
 };
 
+#include <netdb.h>
+
 #else
 # include <arpa/inet.h>
 #endif