diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/bsd-openpty.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-openpty.c b/openbsd-compat/bsd-openpty.c index c0cde6b1f..9777eb556 100644 --- a/openbsd-compat/bsd-openpty.c +++ b/openbsd-compat/bsd-openpty.c | |||
@@ -42,6 +42,9 @@ | |||
42 | #ifdef HAVE_SYS_STAT_H | 42 | #ifdef HAVE_SYS_STAT_H |
43 | # include <sys/stat.h> | 43 | # include <sys/stat.h> |
44 | #endif | 44 | #endif |
45 | #ifdef HAVE_SYS_IOCTL_H | ||
46 | # include <sys/ioctl.h> | ||
47 | #endif | ||
45 | 48 | ||
46 | #ifdef HAVE_FCNTL_H | 49 | #ifdef HAVE_FCNTL_H |
47 | # include <fcntl.h> | 50 | # include <fcntl.h> |