From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 16 Jun 2021 11:08:32 +0200 Subject: [PATCH] Undefine 'SIOCGIFCONF' on serenity FIXME: We don't know why yet. --- SDLnet.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SDLnet.c b/SDLnet.c index 24eb05b..847b185 100644 --- a/SDLnet.c +++ b/SDLnet.c @@ -218,6 +218,10 @@ const char *SDLNet_ResolveIP(const IPaddress *ip) return inet_ntoa(in); } +#ifdef __serenity__ +#undef SIOCGIFCONF +#endif + int SDLNet_GetLocalAddresses(IPaddress *addresses, int maxcount) { int count = 0;