summaryrefslogtreecommitdiffstats
path: root/kdecore/kprocess.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kprocess.h')
-rw-r--r--kdecore/kprocess.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kdecore/kprocess.h b/kdecore/kprocess.h
index 320a2d1b7..51366e3e4 100644
--- a/kdecore/kprocess.h
+++ b/kdecore/kprocess.h
@@ -31,7 +31,12 @@
class TQSocketNotifier;
class KProcessPrivate;
+
+#ifdef Q_OS_UNIX
+#include <kpty.h>
+#else
class KPty;
+#endif
/**
* Child process invocation, monitoring and control.