summaryrefslogtreecommitdiffstats
path: root/tdecore/tdeapplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tdeapplication.cpp')
-rw-r--r--tdecore/tdeapplication.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tdecore/tdeapplication.cpp b/tdecore/tdeapplication.cpp
index 450e522c1..c92479490 100644
--- a/tdecore/tdeapplication.cpp
+++ b/tdecore/tdeapplication.cpp
@@ -177,7 +177,9 @@ typedef void* IceIOErrorHandler;
#if defined Q_WS_X11
#include <sys/ioctl.h>
+#ifdef __linux__
#include <linux/vt.h>
+#endif
extern "C" {
extern int getfd(const char *fnam);
}