Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
ecac4600
Commit
ecac4600
authored
Jul 30, 2005
by
gbazin
Browse files
* include/network.h, modules/access/mms/mmstu.c, src/stream_output/acl.c: WinCE build fixes.
parent
23d037b0
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/network.h
View file @
ecac4600
...
...
@@ -26,16 +26,25 @@
#ifndef __VLC_NETWORK_H
# define __VLC_NETWORK_H
#if defined( UNDER_CE )
# include <winsock.h>
#elif defined( WIN32 )
#if defined( WIN32 )
# if defined(UNDER_CE) && defined(sockaddr_storage)
# undef sockaddr_storage
# endif
# include <winsock2.h>
# include <ws2tcpip.h>
#else
# if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
# endif
# if HAVE_NETINET_IN_H
# include <netinet/in.h>
# endif
# if HAVE_ARPA_INET_H
# include <arpa/inet.h>
# elif defined( SYS_BEOS )
# include <net/netdb.h>
# endif
# include <netdb.h>
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#endif
...
...
modules/access/mms/mmstu.c
View file @
ecac4600
...
...
@@ -47,24 +47,6 @@
# include <sys/stat.h>
#endif
#if defined( UNDER_CE )
# include <winsock.h>
#elif WIN32
# 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>
# if HAVE_ARPA_INET_H
# include <arpa/inet.h>
# elif defined( SYS_BEOS )
# include <net/netdb.h>
# endif
#endif
#include
"network.h"
#include
"asf.h"
#include
"buffer.h"
...
...
src/stream_output/acl.c
View file @
ecac4600
...
...
@@ -35,15 +35,6 @@
#include
<errno.h>
#endif
#if defined( WIN32 ) || defined( UNDER_CE )
# include <winsock2.h>
# include <ws2tcpip.h>
#else
# include <sys/socket.h>
# include <netinet/in.h>
# include <netdb.h>
#endif
#include
"network.h"
/* FIXME: rwlock on acl, but libvlc doesn't implement rwlock */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment