summaryrefslogtreecommitdiffstats
path: root/includes.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-10-21 02:50:25 +0200
committerDamien Miller <djm@mindrot.org>2002-10-21 02:50:25 +0200
commit7b3f58cbcd1e30d02292b5574aaa3e2486288ec2 (patch)
tree7e6f214457f1cc433f014f9094574a89551f6cf9 /includes.h
parent - (djm) Kill ssh-rand-helper children on timeout, patch from (diff)
downloadopenssh-7b3f58cbcd1e30d02292b5574aaa3e2486288ec2.tar.xz
openssh-7b3f58cbcd1e30d02292b5574aaa3e2486288ec2.zip
- (djm) Bug #317: FreeBSD needs libutil.h for openpty() Report from
dirk.meyer@dinoex.sub.org
Diffstat (limited to '')
-rw-r--r--includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes.h b/includes.h
index d7b875c52..37d402ef4 100644
--- a/includes.h
+++ b/includes.h
@@ -157,6 +157,10 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
# include <tmpdir.h>
#endif
+#ifdef HAVE_LIBUTIL_H
+# include <libutil.h> /* Openpty on FreeBSD at least */
+#endif
+
#include <openssl/opensslv.h> /* For OPENSSL_VERSION_NUMBER */
#include "defines.h"