summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-09-07 22:57:53 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-09-07 22:57:53 +1000
commitf19bbc38835acdc80b4c84e053afaf86f5dcb414 (patch)
tree1c02e97dbc1b7c92ed03e00355cb11b56cc9b99d
parentb8f00193d84781a46939ffaa94dccbe9986984eb (diff)
- (dtucker) [loginrec.c] Wrap paths.h in HAVE_PATHS_H.
-rw-r--r--ChangeLog3
-rw-r--r--loginrec.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bbbd985d..f6140fff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
NB. this change will require that the privilege separation user must
exist on all the time, not just when UsePrivilegeSeparation=yes
- (tim) [configure.ac] s/BROKEN_UPDWTMP/BROKEN_UPDWTMPX/ on SCO OSR6
+ - (dtucker) [loginrec.c] Wrap paths.h in HAVE_PATHS_H.
20060905
- (dtucker) [configure.ac] s/AC_DEFINES/AC_DEFINE/ spotted by Roumen Petrov.
@@ -5407,4 +5408,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.4533 2006/09/07 01:11:29 tim Exp $
+$Id: ChangeLog,v 1.4534 2006/09/07 12:57:53 dtucker Exp $
diff --git a/loginrec.c b/loginrec.c
index 8315bd85..e5912774 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -155,7 +155,9 @@
#include <errno.h>
#include <fcntl.h>
-#include <paths.h>
+#ifdef HAVE_PATHS_H
+# include <paths.h>
+#endif
#include <pwd.h>
#include <stdarg.h>
#include <string.h>