diff options
author | djm <djm> | 2013-02-22 22:12:23 +0000 |
---|---|---|
committer | djm <djm> | 2013-02-22 22:12:23 +0000 |
commit | 4adf632d45e40714ac609dabf59b858eb80ae7f5 (patch) | |
tree | 811d7775a3fe2895a1fc03d4e7b90389320892a2 /includes.h | |
parent | 321a50f3345104264d6821e71bc834b9d91e46c5 (diff) | |
download | openssh-4adf632d45e40714ac609dabf59b858eb80ae7f5.tar.gz |
- (djm) [configure.ac includes.h loginrec.c mux.c sftp.c] Prefer
bsd/libutil.h to libutil.h to avoid deprecation warnings on Ubuntu.
ok tim
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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) |