diff options
author | Slávek Banko <[email protected]> | 2015-06-12 02:56:58 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2015-06-12 02:56:58 +0200 |
commit | 08122b137e76ffcf7067f634a7668002732e11d9 (patch) | |
tree | 30507bd9b39b46525b8941f1986dff2fa30f03af /tdm/backend/getfd.c | |
parent | e1d8ccc637042d5ab84b0d532590f4cf8ef8e567 (diff) | |
download | tdebase-08122b137e76ffcf7067f634a7668002732e11d9.tar.gz tdebase-08122b137e76ffcf7067f634a7668002732e11d9.zip |
Fix FTBFS on freebsd
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'tdm/backend/getfd.c')
-rw-r--r-- | tdm/backend/getfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |