summaryrefslogtreecommitdiffstats
path: root/tdm
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-12 17:56:39 -0500
committerTimothy Pearson <[email protected]>2014-10-12 17:56:39 -0500
commite2c5ea4cdad7dbb560be87a7d3c894e980b5ab6f (patch)
treeb2717634a496f982c82b13c6aa67252caad85268 /tdm
parent1346f6898707e6a4d95abee07c3d1608fc056998 (diff)
parent68cfc4fec0fed7ef4da9f03da68bd61900654ee3 (diff)
downloadtdebase-e2c5ea4cdad7dbb560be87a7d3c894e980b5ab6f.tar.gz
tdebase-e2c5ea4cdad7dbb560be87a7d3c894e980b5ab6f.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdebase
Diffstat (limited to 'tdm')
-rw-r--r--tdm/backend/ctrl.c2
-rw-r--r--tdm/backend/getfd.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/tdm/backend/ctrl.c b/tdm/backend/ctrl.c
index 4e10309e6..4acd6d293 100644
--- a/tdm/backend/ctrl.c
+++ b/tdm/backend/ctrl.c
@@ -42,7 +42,9 @@ from the copyright holder.
#include <signal.h>
#include <pwd.h>
+#ifdef __linux__
#include <linux/vt.h>
+#endif
#include "getfd.h"
static void
diff --git a/tdm/backend/getfd.c b/tdm/backend/getfd.c
index 3632161d3..6bf8c8783 100644
--- a/tdm/backend/getfd.c
+++ b/tdm/backend/getfd.c
@@ -4,7 +4,9 @@
#include <fcntl.h>
#include <errno.h>
#include <sys/ioctl.h>
+#ifdef __linux__
#include <linux/kd.h>
+#endif
#include "getfd.h"
/*