Commit 99feb97a authored by mmu_man's avatar mmu_man

OSX and BeOS networking fix (socklen_t)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2077 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7f7076a1
......@@ -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
......
......@@ -18,6 +18,7 @@
*/
#include "avformat.h"
#include <unistd.h> /* for select() prototype */
#include <sys/time.h>
#include <netinet/in.h>
#include <sys/socket.h>
......
......@@ -22,6 +22,9 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#if defined(__APPLE__) || defined(__BEOS__)
typedef int socklen_t;
#endif
#ifndef __BEOS__
# include <arpa/inet.h>
#else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment