diff options
Diffstat (limited to 'stream/rtp.c')
-rw-r--r-- | stream/rtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/rtp.c b/stream/rtp.c index 1c31bef4a1..624812a0fe 100644 --- a/stream/rtp.c +++ b/stream/rtp.c @@ -13,16 +13,16 @@ #include <sys/types.h> #include <ctype.h> #include "config.h" -#ifndef HAVE_WINSOCK2 +#ifndef HAVE_WINSOCK2_H #include <netinet/in.h> #include <sys/socket.h> #include <arpa/inet.h> -#define closesocket close #else #include <winsock2.h> #include <ws2tcpip.h> #endif #include <errno.h> +#include "network.h" #include "stream.h" /* MPEG-2 TS RTP stack */ |