summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Henderson <sthen@openbsd.org>2020-01-10 21:59:18 +0100
committerAlexander Naumov <alexander_naumov@opensuse.org>2020-01-10 21:59:18 +0100
commit3d60ad42eac34efa7ec1780a3aa1946677bc3188 (patch)
treeaedd67ce199c1c555182bd992857cee584f85fde
parent1e1a5e9e2dc0801d49e76e0c923b6be4818716e9 (diff)
downloadscreen-3d60ad42eac34efa7ec1780a3aa1946677bc3188.tar.gz
Adding OpenBSD to the BSD list
-rw-r--r--src/tty.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tty.sh b/src/tty.sh
index bafa9f6..6d50309 100644
--- a/src/tty.sh
+++ b/src/tty.sh
@@ -813,7 +813,7 @@ int fd;
/*
* Under BSD we have to set the controlling terminal again explicitly.
*/
-# if (defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__GNU__)) && defined(TIOCSCTTY)
+# if (defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__GNU__) || defined(__OpenBSD__)) && defined(TIOCSCTTY)
ioctl(fd, TIOCSCTTY, (char *)0);
# endif