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) --- tdecore/ksimpledirwatch.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tdecore/ksimpledirwatch.cpp') diff --git a/tdecore/ksimpledirwatch.cpp b/tdecore/ksimpledirwatch.cpp index cbb4ce682..a5bab80ce 100644 --- a/tdecore/ksimpledirwatch.cpp +++ b/tdecore/ksimpledirwatch.cpp @@ -52,11 +52,17 @@ // debug #include +#ifdef Q_OS_SOLARIS +#include /* FIONREAD is defined here */ +#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