summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-08-24 19:52:30 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-08-24 19:52:30 +1000
commitf80f5ec81bf445d09034a2caff93bc3582cd87c3 (patch)
treecad1348bb4897e213619bfd7920fda3c68544f0b /openbsd-compat
parent450d2af2a3f07e46cc1490a0029a9f669dd60108 (diff)
- (dtucker) [openbsd-compat/bsd-openpty.c] Include for ioctl(2).
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/bsd-openpty.c3
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>