X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/a6de2de38413b13b8749d3770d3838d328270f03..e204f3eed27607fe5661df8be3e1363b239b2bd7:/openbsd-compat/bsd-openpty.c diff --git a/openbsd-compat/bsd-openpty.c b/openbsd-compat/bsd-openpty.c index 8eb62b7a..a2f2fda6 100644 --- a/openbsd-compat/bsd-openpty.c +++ b/openbsd-compat/bsd-openpty.c @@ -35,6 +35,16 @@ #include "includes.h" #if !defined(HAVE_OPENPTY) +#include + +#ifdef HAVE_SYS_STAT_H +# include +#endif + +#ifdef HAVE_FCNTL_H +# include +#endif + #ifdef HAVE_UTIL_H # include #endif /* HAVE_UTIL_H */ @@ -46,6 +56,10 @@ # include #endif +#include +#include +#include + #ifndef O_NOCTTY #define O_NOCTTY 0 #endif