summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Henderson <sthen@openbsd.org>2022-01-24 00:41:51 +0200
committerAlexander Naumov <alexander_naumov@opensuse.org>2022-01-24 00:41:51 +0200
commitd5672bac2dc13990258728fe76dc9a892f6648a8 (patch)
treed8a8bd9228433e8edc23ef492d8d36cf909d9266
parentd591a396c7e41d10191c1f5676032d9e261da2f7 (diff)
downloadscreen-d5672bac2dc13990258728fe76dc9a892f6648a8.tar.gz
OpenBSD fix: including utils.h for openpty()
-rw-r--r--src/pty.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pty.c b/src/pty.c
index 289c382..6791fd5 100644
--- a/src/pty.c
+++ b/src/pty.c
@@ -31,6 +31,10 @@
#include <fcntl.h>
#include <signal.h>
+#if defined(__OpenBSD__)
+#include <utils.h> /* for openpty() */
+#endif
+
#include "config.h"
#include "screen.h"