summaryrefslogtreecommitdiffstats
path: root/auth-shadow.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-02-16 14:20:06 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-02-16 14:20:06 +1100
commita91f5ee6185fa2e77a17d0e72f8ada94f57e3409 (patch)
tree025ad6df28e36017593f679e3e7850d5c8075b8d /auth-shadow.c
parent7a8619aebbef6f543212a01e65f0946cabf72adc (diff)
- (dtucker) [auth-shadow.c] Prevent compiler warnings if "DAY" is defined
by the system headers.
Diffstat (limited to 'auth-shadow.c')
-rw-r--r--auth-shadow.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/auth-shadow.c b/auth-shadow.c
index a85442d7..f6004f68 100644
--- a/auth-shadow.c
+++ b/auth-shadow.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$Id: auth-shadow.c,v 1.5 2004/02/21 23:22:05 dtucker Exp $");
+RCSID("$Id: auth-shadow.c,v 1.6 2005/02/16 03:20:06 dtucker Exp $");
#if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE)
#include <shadow.h>
@@ -32,6 +32,9 @@ RCSID("$Id: auth-shadow.c,v 1.5 2004/02/21 23:22:05 dtucker Exp $");
#include "buffer.h"
#include "log.h"
+#ifdef DAY
+# undef DAY
+#endif
#define DAY (24L * 60 * 60) /* 1 day in seconds */
extern Buffer loginmsg;