diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-02-16 04:20:06 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-02-16 04:20:06 +0100 |
commit | a91f5ee6185fa2e77a17d0e72f8ada94f57e3409 (patch) | |
tree | 025ad6df28e36017593f679e3e7850d5c8075b8d /auth-shadow.c | |
parent | Document the path to seed_rng better (diff) | |
download | openssh-a91f5ee6185fa2e77a17d0e72f8ada94f57e3409.tar.xz openssh-a91f5ee6185fa2e77a17d0e72f8ada94f57e3409.zip |
- (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 @@ */ #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; |