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.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-openpty.c b/openbsd-compat/bsd-openpty.c
index 28929de67..0b77a1da9 100644
--- a/openbsd-compat/bsd-openpty.c
+++ b/openbsd-compat/bsd-openpty.c
@@ -35,6 +35,16 @@
35#include "includes.h" 35#include "includes.h"
36#if !defined(HAVE_OPENPTY) 36#if !defined(HAVE_OPENPTY)
37 37
38#include <sys/types.h>
39
40#ifdef HAVE_SYS_STAT_H
41# include <sys/stat.h>
42#endif
43
44#ifdef HAVE_FCNTL_H
45# include <fcntl.h>
46#endif
47
38#ifdef HAVE_UTIL_H 48#ifdef HAVE_UTIL_H
39# include <util.h> 49# include <util.h>
40#endif /* HAVE_UTIL_H */ 50#endif /* HAVE_UTIL_H */