diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-02-16 14:20:06 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-02-16 14:20:06 +1100 |
commit | a91f5ee6185fa2e77a17d0e72f8ada94f57e3409 (patch) | |
tree | 025ad6df28e36017593f679e3e7850d5c8075b8d /auth-shadow.c | |
parent | 7a8619aebbef6f543212a01e65f0946cabf72adc (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.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/auth-shadow.c b/auth-shadow.c index a85442d72..f6004f68f 100644 --- a/auth-shadow.c +++ b/auth-shadow.c | |||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$Id: auth-shadow.c,v 1.5 2004/02/21 23:22:05 dtucker Exp $"); | 26 | RCSID("$Id: auth-shadow.c,v 1.6 2005/02/16 03:20:06 dtucker Exp $"); |
27 | 27 | ||
28 | #if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE) | 28 | #if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE) |
29 | #include <shadow.h> | 29 | #include <shadow.h> |
@@ -32,6 +32,9 @@ RCSID("$Id: auth-shadow.c,v 1.5 2004/02/21 23:22:05 dtucker Exp $"); | |||
32 | #include "buffer.h" | 32 | #include "buffer.h" |
33 | #include "log.h" | 33 | #include "log.h" |
34 | 34 | ||
35 | #ifdef DAY | ||
36 | # undef DAY | ||
37 | #endif | ||
35 | #define DAY (24L * 60 * 60) /* 1 day in seconds */ | 38 | #define DAY (24L * 60 * 60) /* 1 day in seconds */ |
36 | 39 | ||
37 | extern Buffer loginmsg; | 40 | extern Buffer loginmsg; |