Mercurial > emacs
diff src/filelock.c @ 25784:fe4ca7eaee87
(get_boot_time): Put local variable used in
conditinally compiled section in #ifdef.
(toplevel): Include stdio.h.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Mon, 20 Sep 1999 23:18:45 +0000 |
| parents | e6246adc8a35 |
| children | ca384fd94454 |
line wrap: on
line diff
--- 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 <sys/stat.h> #include <signal.h> #include <config.h> +#include <stdio.h> #ifdef HAVE_STDLIB_H #include <stdlib.h> #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;
