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 8eb62b7a8..28929de67 100644
--- a/openbsd-compat/bsd-openpty.c
+++ b/openbsd-compat/bsd-openpty.c
@@ -46,6 +46,8 @@
46# include <sys/stropts.h> 46# include <sys/stropts.h>
47#endif 47#endif
48 48
49#include <signal.h>
50
49#ifndef O_NOCTTY 51#ifndef O_NOCTTY
50#define O_NOCTTY 0 52#define O_NOCTTY 0
51#endif 53#endif