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