summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-openpty.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/bsd-openpty.c')
-rw-r--r--openbsd-compat/bsd-openpty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-openpty.c b/openbsd-compat/bsd-openpty.c
index 0b77a1da9..a2f2fda60 100644
--- a/openbsd-compat/bsd-openpty.c
+++ b/openbsd-compat/bsd-openpty.c
@@ -57,6 +57,8 @@
57#endif 57#endif
58 58
59#include <signal.h> 59#include <signal.h>
60#include <string.h>
61#include <unistd.h>
60 62
61#ifndef O_NOCTTY 63#ifndef O_NOCTTY
62#define O_NOCTTY 0 64#define O_NOCTTY 0