SDL_net: mingw32ce build fixes

From bcd3e49cf8c08517a84e58e751d0921ce1e98f0d Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sat, 17 Apr 2021 21:55:02 +0300
Subject: [PATCH] mingw32ce build fixes

build-tested **only**
---
 configure    | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 04cd7f6..0e38c02 100755
--- a/configure
+++ b/configure
@@ -15253,7 +15253,7 @@ fi
 
 case "$host" in
     *mingw32ce*)
-        INETLIB="-lwinsock -lws2"
+        INETLIB="-lwinsock -lws2 -liphlpapi"
         ;;
     x86_64-*-mingw*)
         INETLIB="-lws2_32 -liphlpapi"
diff --git a/configure.ac b/configure.ac
index b6f2619..9ddaee8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -82,7 +82,7 @@ AM_CONDITIONAL(USE_VERSION_RC, test x$use_version_rc = xtrue)
 dnl Figure out which networking libraries to use
 case "$host" in
     *mingw32ce*)
-        INETLIB="-lwinsock -lws2"
+        INETLIB="-lwinsock -lws2 -liphlpapi"
         ;;
     x86_64-*-mingw*)
         INETLIB="-lws2_32 -liphlpapi"