mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 19:21:03 +00:00
Prevent more warnings with Griffin
This commit is contained in:
parent
5fc95142e5
commit
337e185d18
2
deps/miniupnpc/connecthostport.c
vendored
2
deps/miniupnpc/connecthostport.c
vendored
@ -30,7 +30,9 @@
|
||||
#include <sys/param.h>
|
||||
#include <sys/select.h>
|
||||
#include <errno.h>
|
||||
#ifndef closesocket
|
||||
#define closesocket close
|
||||
#endif
|
||||
#include <netdb.h>
|
||||
#include <netinet/in.h>
|
||||
/* defining MINIUPNPC_IGNORE_EINTR enable the ignore of interruptions
|
||||
|
2
deps/miniupnpc/minissdpc.c
vendored
2
deps/miniupnpc/minissdpc.c
vendored
@ -58,8 +58,10 @@ struct sockaddr_un {
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
#include <net/if.h>
|
||||
#ifndef closesocket
|
||||
#define closesocket close
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(__DragonFly__) && !defined(__OpenBSD__) && !defined(__NetBSD__) && !defined(__APPLE__) && !defined(_WIN32) && !defined(__CYGWIN__) && !defined(__sun) && !defined(__GNU__) && !defined(__FreeBSD_kernel__) && !defined(__HAIKU__)
|
||||
#define HAS_IP_MREQN
|
||||
|
2
deps/miniupnpc/miniwget.c
vendored
2
deps/miniupnpc/miniwget.c
vendored
@ -37,7 +37,9 @@
|
||||
#include <arpa/inet.h>
|
||||
#include <net/if.h>
|
||||
#include <netdb.h>
|
||||
#ifndef closesocket
|
||||
#define closesocket close
|
||||
#endif
|
||||
#include <strings.h>
|
||||
#endif /* #else _WIN32 */
|
||||
#ifdef __GNU__
|
||||
|
Loading…
x
Reference in New Issue
Block a user