From 46b20a55775c6c44591ff2d2d423399887ebc806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 12 Jun 2015 02:56:58 +0200 Subject: Fix FTBFS on freebsd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 08122b137e76ffcf7067f634a7668002732e11d9) --- tdm/backend/getfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdm/backend/getfd.c') diff --git a/tdm/backend/getfd.c b/tdm/backend/getfd.c index 307b2501c..d4f4d8352 100644 --- a/tdm/backend/getfd.c +++ b/tdm/backend/getfd.c @@ -22,7 +22,7 @@ is_a_console(int fd) { char arg; arg = 0; -#ifdef __OpenBSD__ +#if defined(__OpenBSD__) || defined(__FreeBSD__) return arg; #else return (ioctl(fd, KDGKBTYPE, &arg) == 0 -- cgit v1.2.1