summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-10-05 16:33:10 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-05 16:33:10 +0200
commit8f3cf10d983400f11af2cd73fd7bb585365e0413 (patch)
tree2870119d3c7cdab555fb23e0cb8003a85ecfcf82
parent439f3ba7ea9aa0b850f70b520081d6bac8c83752 (diff)
downloadtdelibs-8f3cf10d983400f11af2cd73fd7bb585365e0413.tar.gz
tdelibs-8f3cf10d983400f11af2cd73fd7bb585365e0413.zip
Fix FTBFS because Linux specific include in 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);
}