Mercurial > libavformat.hg
comparison tcp.c @ 753:1fc7b1637f90 libavformat
Mac OS X 10.4 compilation fix by Steven M. Schultz <sms at 2BSD dot COM>
author | diego |
---|---|
date | Mon, 09 May 2005 10:48:12 +0000 |
parents | 095009fc2f35 |
children | da1d5db0ce5c |
comparison
equal
deleted
inserted
replaced
752:484211f46feb | 753:1fc7b1637f90 |
---|---|
19 #include "avformat.h" | 19 #include "avformat.h" |
20 #include <unistd.h> | 20 #include <unistd.h> |
21 #include <sys/types.h> | 21 #include <sys/types.h> |
22 #include <sys/socket.h> | 22 #include <sys/socket.h> |
23 #include <netinet/in.h> | 23 #include <netinet/in.h> |
24 #if defined(__APPLE__) || defined(__BEOS__) | 24 #if defined(__BEOS__) |
25 typedef int socklen_t; | 25 typedef int socklen_t; |
26 #endif | 26 #endif |
27 #ifndef __BEOS__ | 27 #ifndef __BEOS__ |
28 # include <arpa/inet.h> | 28 # include <arpa/inet.h> |
29 #else | 29 #else |