From 69bb90d11ef63b281e04ba5fccfe26eaeed3a9e5 Mon Sep 17 00:00:00 2001 From: Wolfywolfy Date: Sun, 12 Nov 2023 21:31:46 -0300 Subject: [PATCH] Cleanup --- lib/libsmb2.c | 2 +- lib/socket.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libsmb2.c b/lib/libsmb2.c index 2107f468..19e9616b 100644 --- a/lib/libsmb2.c +++ b/lib/libsmb2.c @@ -60,7 +60,7 @@ #include #endif -#if defined(HAVE_FCNTL_H) || defined(_MSC_VER) || defined(PS3_PPU_PLATFORM) || defined(__GNUC__) +#if !defined(PS2_IOP_PLATFORM) || defined(__GNUC__) || defined(HAVE_TIME_H) || defined(_MSC_VER) #include #endif diff --git a/lib/socket.c b/lib/socket.c index b4ae89d1..d7525bec 100644 --- a/lib/socket.c +++ b/lib/socket.c @@ -72,7 +72,7 @@ #include "portable-endian.h" #include -#if defined(HAVE_FCNTL_H) || defined(_MSC_VER) || defined(PS3_PPU_PLATFORM) || defined(__GNUC__) +#if !defined(PS2_IOP_PLATFORM) || defined(__GNUC__) || defined(HAVE_TIME_H) || defined(_MSC_VER) #include #endif