Statistics
| Branch: | Revision:

ffmpeg / libavformat / barpainet.h @ 3840147e

History | View | Annotate | Download (485 Bytes)

1 9ddd71fc François Revol
#ifndef BARPA_INET_H
2
#define BARPA_INET_H
3
4 6f72dcf7 Diego Biurrun
#include "config.h"
5 9ddd71fc François Revol
6
#ifdef CONFIG_BEOS_NETSERVER
7
8
# include <socket.h>
9
int inet_aton (const char * str, struct in_addr * add);
10
# define PF_INET AF_INET
11
# define SO_SNDBUF 0x40000001
12
13
/* fake */
14
struct ip_mreq {
15
    struct in_addr imr_multiaddr;  /* IP multicast address of group */
16
    struct in_addr imr_interface;  /* local IP address of interface */
17
};
18
19 438fcb75 François Revol
#include <netdb.h>
20
21 9ddd71fc François Revol
#else
22
# include <arpa/inet.h>
23
#endif
24
25
#endif /* BARPA_INET_H */