aboutsummaryrefslogtreecommitdiffstats
path: root/libav/rtp.c
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2002-11-02 10:35:07 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-11-02 10:35:07 +0000
commit9ddd71fc6063b357344f81a0f704c1d04f584ada (patch)
tree87e9377d16bd2a22727ca6f572ba312f167d258f /libav/rtp.c
parentbbd8335b69b4960b2a6e830317f189748232c749 (diff)
downloadffmpeg-9ddd71fc6063b357344f81a0f704c1d04f584ada.tar.gz
added BeOS net_server support (R5 network stack), basically the same
problems as with winsock (sockets != fd), and the broken select(). based on older patch by Andrew Bachmann. patch by (François Revol <revol at free dot fr>) Originally committed as revision 1144 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/rtp.c')
-rw-r--r--libav/rtp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libav/rtp.c b/libav/rtp.c
index 45ccc2c39d..714787c88b 100644
--- a/libav/rtp.c
+++ b/libav/rtp.c
@@ -22,7 +22,11 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
-#include <arpa/inet.h>
+#ifndef __BEOS__
+# include <arpa/inet.h>
+#else
+# include "barpainet.h"
+#endif
#include <netdb.h>
//#define DEBUG