diff options
author | Damien Miller <djm@mindrot.org> | 2013-02-23 09:12:23 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2013-02-23 09:12:23 +1100 |
commit | b87f6b70f894952b74443c8ef1b86323e7c9f465 (patch) | |
tree | 7451e59ee115d79fd85e8429fc9fed860484f687 /includes.h | |
parent | 91f40d8592562b804813a320a4ac3871dbaaf433 (diff) |
- (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) |