summaryrefslogtreecommitdiffstats
path: root/tdm/backend/getfd.c
diff options
context:
space:
mode:
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..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"
/*