SDL_net: Add support for vitasdk

From 6d87e5bc18570b3b6dc30dd55b43fb04abe6edbb Mon Sep 17 00:00:00 2001
From: scribam <[EMAIL REDACTED]>
Date: Mon, 29 May 2023 22:30:44 +0200
Subject: [PATCH] Add support for vitasdk

---
 SDLnetsys.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/SDLnetsys.h b/SDLnetsys.h
index 9b65ce4..cd5ce22 100644
--- a/SDLnetsys.h
+++ b/SDLnetsys.h
@@ -48,7 +48,9 @@
 #ifdef __FreeBSD__
 #include <sys/socket.h>
 #endif
+#ifndef __vita__
 #include <sys/ioctl.h>
+#endif
 #include <sys/time.h>
 #include <unistd.h>
 #include <fcntl.h>
@@ -58,7 +60,7 @@
 #endif
 #include <netinet/tcp.h>
 #include <sys/socket.h>
-#ifndef __PSP__
+#if !defined (__PSP__) && !defined (__vita__)
 #include <net/if.h>
 #endif
 #include <netdb.h>