From 9ec445ab4078af424fd10743d289dd3437233eea Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 9 Dec 2021 08:45:16 +0100 Subject: [PATCH] Define IP_MULTICAST_TTL if not defined --- libretro-common/net/net_natt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libretro-common/net/net_natt.c b/libretro-common/net/net_natt.c index 15990a35f4..0ae433f8b2 100644 --- a/libretro-common/net/net_natt.c +++ b/libretro-common/net/net_natt.c @@ -37,6 +37,10 @@ #include +#ifndef IP_MULTICAST_TTL +#define IP_MULTICAST_TTL 33 +#endif + static natt_state_t natt_st = {{0}, {{0}}, 0, -1}; natt_state_t *natt_state_get_ptr(void)