# HG changeset patch # User Gerd Moellmann # Date 937869525 0 # Node ID fe4ca7eaee874cbdf014c306de96b256bdc72da6 # Parent 17eb5827f07b722be78916f143707528ae87d7c8 (get_boot_time): Put local variable used in conditinally compiled section in #ifdef. (toplevel): Include stdio.h. diff -r 17eb5827f07b -r fe4ca7eaee87 src/filelock.c --- a/src/filelock.c Mon Sep 20 23:18:44 1999 +0000 +++ b/src/filelock.c Mon Sep 20 23:18:45 1999 +0000 @@ -23,6 +23,7 @@ #include #include #include +#include #ifdef HAVE_STDLIB_H #include #endif @@ -125,7 +126,9 @@ static time_t get_boot_time () { +#if defined (BOOT_TIME) && ! defined (NO_WTMP_FILE) int counter; +#endif if (boot_time_initialized) return boot_time;