summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--term/ptyio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/term/ptyio.c b/term/ptyio.c
index 5d6e6ceb..404061eb 100644
--- a/term/ptyio.c
+++ b/term/ptyio.c
@@ -55,6 +55,7 @@ static int ptyopen;
static int nptyperopens;
+static void ptyio_init (void) __attribute__ ((constructor));
static void
ptyio_init ()
{