Mercurial > libavformat.hg
comparison tcp.c @ 1754:1f7a6dc01100 libavformat
move networking #includes into separate file
patch by Ramiro Polla angustia =a= arrozcru =d= no-ip =d= org
author | mru |
---|---|
date | Sun, 04 Feb 2007 17:05:44 +0000 |
parents | 3fa40cd9fdae |
children | eb16c64144ee |
comparison
equal
deleted
inserted
replaced
1753:d0a97c73ee97 | 1754:1f7a6dc01100 |
---|---|
18 * License along with FFmpeg; if not, write to the Free Software | 18 * License along with FFmpeg; if not, write to the Free Software |
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 */ | 20 */ |
21 #include "avformat.h" | 21 #include "avformat.h" |
22 #include <unistd.h> | 22 #include <unistd.h> |
23 #include <sys/types.h> | 23 #include "network.h" |
24 #include <sys/socket.h> | |
25 #include <netinet/in.h> | |
26 #include <arpa/inet.h> | |
27 #include <netdb.h> | |
28 #include <sys/time.h> | 24 #include <sys/time.h> |
29 #include <fcntl.h> | 25 #include <fcntl.h> |
30 | 26 |
31 typedef struct TCPContext { | 27 typedef struct TCPContext { |
32 int fd; | 28 int fd; |