diff options
author | Denis Kozadaev <denis@dilos.org> | 2023-05-14 12:34:44 +0300 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-05-22 10:47:39 +0900 |
commit | 227cd7b44beb0949be8d8186899c91f2fc08ba59 (patch) | |
tree | aa43141f354cb72e1fd394b8e64a96906e1dc9cd /tdecore/ksimpledirwatch.cpp | |
parent | b7a4d45c14908b542b91976b71f0d51e785f9006 (diff) | |
download | tdelibs-227cd7b44beb0949be8d8186899c91f2fc08ba59.tar.gz tdelibs-227cd7b44beb0949be8d8186899c91f2fc08ba59.zip |
Add SunOS specific patches
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit e5acdb1b39fa7d97d7153741202709e078b463a6)
Diffstat (limited to 'tdecore/ksimpledirwatch.cpp')
-rw-r--r-- | tdecore/ksimpledirwatch.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 <sys/ioctl.h> +#ifdef Q_OS_SOLARIS +#include <sys/filio.h> /* FIONREAD is defined here */ +#endif /* solaris */ + #ifdef HAVE_INOTIFY #include <unistd.h> #include <fcntl.h> #include <sys/syscall.h> +#ifdef Q_OS_LINUX #include <linux/types.h> +#endif /* Linux */ // Linux kernel headers are documented to not compile #define _S390_BITOPS_H #include <sys/inotify.h> |