From 227cd7b44beb0949be8d8186899c91f2fc08ba59 Mon Sep 17 00:00:00 2001 From: Denis Kozadaev Date: Sun, 14 May 2023 12:34:44 +0300 Subject: Add SunOS specific patches Signed-off-by: Denis Kozadaev (cherry picked from commit e5acdb1b39fa7d97d7153741202709e078b463a6) --- tdeio/tdeio/global.cpp | 2 ++ tdeio/tdeio/kdirwatch.cpp | 6 ++++++ 2 files changed, 8 insertions(+) (limited to 'tdeio') diff --git a/tdeio/tdeio/global.cpp b/tdeio/tdeio/global.cpp index c53929b1e..21437cdd3 100644 --- a/tdeio/tdeio/global.cpp +++ b/tdeio/tdeio/global.cpp @@ -1307,6 +1307,8 @@ TDEIO_EXPORT TQByteArray TDEIO::rawErrorDetail(int errorCode, const TQString &er #endif #ifdef HAVE_SYS_UCRED_H #include +#elifdef HAVE_UCRED_H +#include #endif #ifdef HAVE_SYS_MOUNT_H #include diff --git a/tdeio/tdeio/kdirwatch.cpp b/tdeio/tdeio/kdirwatch.cpp index b3763978d..c87558e1d 100644 --- a/tdeio/tdeio/kdirwatch.cpp +++ b/tdeio/tdeio/kdirwatch.cpp @@ -64,11 +64,17 @@ // debug #include +#ifdef Q_OS_SOLARIS +#include /* FIONREAD */ +#endif /* solaris */ + #ifdef HAVE_INOTIFY #include #include #include +#ifdef Q_OS_LINUX #include +#endif /* Linux */ // Linux kernel headers are documented to not compile #define _S390_BITOPS_H #include -- cgit v1.2.1