summaryrefslogtreecommitdiffstats
path: root/tdm/backend/getfd.c
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2014-10-12 20:00:56 +0200
committerSlávek Banko <[email protected]>2014-10-12 20:00:56 +0200
commitd3ce4fa7931f1a69fb3f6bd759a864db09ebbdc2 (patch)
treee661c402ac11e86003500de8c905b127bcee9684 /tdm/backend/getfd.c
parent01d5f3ea4a9430c72498f4489a6c233957f609f1 (diff)
downloadtdebase-d3ce4fa7931f1a69fb3f6bd759a864db09ebbdc2.tar.gz
tdebase-d3ce4fa7931f1a69fb3f6bd759a864db09ebbdc2.zip
Fix FTBFS due to linux specific headers
Diffstat (limited to 'tdm/backend/getfd.c')
-rw-r--r--tdm/backend/getfd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tdm/backend/getfd.c b/tdm/backend/getfd.c
index 3632161d3..07973e642 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"
/*