summaryrefslogtreecommitdiff
path: root/includes.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-02-23 09:12:23 +1100
committerDamien Miller <djm@mindrot.org>2013-02-23 09:12:23 +1100
commitb87f6b70f894952b74443c8ef1b86323e7c9f465 (patch)
tree7451e59ee115d79fd85e8429fc9fed860484f687 /includes.h
parent91f40d8592562b804813a320a4ac3871dbaaf433 (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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes.h b/includes.h
index b4c53d9b4..3e206c899 100644
--- a/includes.h
+++ b/includes.h
@@ -137,8 +137,10 @@
137# include <tmpdir.h> 137# include <tmpdir.h>
138#endif 138#endif
139 139
140#ifdef HAVE_LIBUTIL_H 140#if defined(HAVE_BSD_LIBUTIL_H)
141# include <libutil.h> /* Openpty on FreeBSD at least */ 141# include <bsd/libutil.h>
142#elif defined(HAVE_LIBUTIL_H)
143# include <libutil.h>
142#endif 144#endif
143 145
144#if defined(KRB5) && defined(USE_AFS) 146#if defined(KRB5) && defined(USE_AFS)