From c130101a2b19685f493184a01f7d986a896a58b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <rem@videolan.org> Date: Tue, 24 May 2005 08:09:30 +0000 Subject: [PATCH] WinCE compile fix --- src/misc/net.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/misc/net.c b/src/misc/net.c index d5910be145..ce7fa8331d 100644 --- a/src/misc/net.c +++ b/src/misc/net.c @@ -38,14 +38,9 @@ # include <sys/time.h> #endif -#if defined( UNDER_CE ) -# include <winsock.h> -#elif defined( WIN32 ) +#if defined( WIN32 ) || defined( UNDER_CE ) # include <winsock2.h> # include <ws2tcpip.h> -# ifndef IN_MULTICAST -# define IN_MULTICAST(a) IN_CLASSD(a) -# endif #else # include <sys/socket.h> # include <netinet/in.h> @@ -57,8 +52,6 @@ #ifdef HAVE_UNISTD_H # include <unistd.h> -#elif defined( WIN32 ) && !defined( UNDER_CE ) -# include <io.h> #endif #include "network.h" -- 2.25.4