summaryrefslogtreecommitdiff
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 bbbd985d1..f6140fff5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
5 NB. this change will require that the privilege separation user must 5 NB. this change will require that the privilege separation user must
6 exist on all the time, not just when UsePrivilegeSeparation=yes 6 exist on all the time, not just when UsePrivilegeSeparation=yes
7 - (tim) [configure.ac] s/BROKEN_UPDWTMP/BROKEN_UPDWTMPX/ on SCO OSR6 7 - (tim) [configure.ac] s/BROKEN_UPDWTMP/BROKEN_UPDWTMPX/ on SCO OSR6
8 - (dtucker) [loginrec.c] Wrap paths.h in HAVE_PATHS_H.
8 9
920060905 1020060905
10 - (dtucker) [configure.ac] s/AC_DEFINES/AC_DEFINE/ spotted by Roumen Petrov. 11 - (dtucker) [configure.ac] s/AC_DEFINES/AC_DEFINE/ spotted by Roumen Petrov.
@@ -5407,4 +5408,4 @@
5407 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 5408 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
5408 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 5409 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
5409 5410
5410$Id: ChangeLog,v 1.4533 2006/09/07 01:11:29 tim Exp $ 5411$Id: ChangeLog,v 1.4534 2006/09/07 12:57:53 dtucker Exp $
diff --git a/loginrec.c b/loginrec.c
index 8315bd85b..e59127747 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -155,7 +155,9 @@
155 155
156#include <errno.h> 156#include <errno.h>
157#include <fcntl.h> 157#include <fcntl.h>
158#include <paths.h> 158#ifdef HAVE_PATHS_H
159# include <paths.h>
160#endif
159#include <pwd.h> 161#include <pwd.h>
160#include <stdarg.h> 162#include <stdarg.h>
161#include <string.h> 163#include <string.h>