diff options
Diffstat (limited to 'crypto/openssh/includes.h')
-rw-r--r-- | crypto/openssh/includes.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/openssh/includes.h b/crypto/openssh/includes.h index b4c53d9..3e206c8 100644 --- a/crypto/openssh/includes.h +++ b/crypto/openssh/includes.h @@ -137,8 +137,10 @@ # include <tmpdir.h> #endif -#ifdef HAVE_LIBUTIL_H -# include <libutil.h> /* Openpty on FreeBSD at least */ +#if defined(HAVE_BSD_LIBUTIL_H) +# include <bsd/libutil.h> +#elif defined(HAVE_LIBUTIL_H) +# include <libutil.h> #endif #if defined(KRB5) && defined(USE_AFS) |