aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/barpainet.h
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-11-25 19:07:40 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-11-25 19:07:40 +0000
commitabac6175916c57f59ddb51ffe41bfd1d9851fe38 (patch)
tree8fc5b70a143f0f74468c353afbf043d7e104cdc0 /libavformat/barpainet.h
parent57fc25764261abe71b6cf7571eca182f8acf5795 (diff)
downloadffmpeg-abac6175916c57f59ddb51ffe41bfd1d9851fe38.tar.gz
renamed libav to libavformat
Originally committed as revision 1276 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/barpainet.h')
-rw-r--r--libavformat/barpainet.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/libavformat/barpainet.h b/libavformat/barpainet.h
new file mode 100644
index 0000000000..461403b3fa
--- /dev/null
+++ b/libavformat/barpainet.h
@@ -0,0 +1,23 @@
+#ifndef BARPA_INET_H
+#define BARPA_INET_H
+
+#include "../config.h"
+
+#ifdef CONFIG_BEOS_NETSERVER
+
+# include <socket.h>
+int inet_aton (const char * str, struct in_addr * add);
+# define PF_INET AF_INET
+# define SO_SNDBUF 0x40000001
+
+/* fake */
+struct ip_mreq {
+ struct in_addr imr_multiaddr; /* IP multicast address of group */
+ struct in_addr imr_interface; /* local IP address of interface */
+};
+
+#else
+# include <arpa/inet.h>
+#endif
+
+#endif /* BARPA_INET_H */