summaryrefslogtreecommitdiffstats
path: root/tdecore/tdesycoca.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tdesycoca.cpp')
-rw-r--r--tdecore/tdesycoca.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/tdesycoca.cpp b/tdecore/tdesycoca.cpp
index a11175117..c109d5ff4 100644
--- a/tdecore/tdesycoca.cpp
+++ b/tdecore/tdesycoca.cpp
@@ -42,7 +42,7 @@
#include <sys/mman.h>
#endif
-#ifdef Q_OS_SOLARIS
+#if defined(Q_OS_SOLARIS) && !defined(__dilos__)
extern "C"
{
extern int madvise(caddr_t, size_t, int);