From: Gerd Moellmann Date: Mon, 20 Sep 1999 23:18:45 +0000 (+0000) Subject: (get_boot_time): Put local variable used in X-Git-Tag: emacs-pretest-21.0.90~6658 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2decc5a9e89847923ba7ad99c6ae1cf7740799a4;p=emacs.git (get_boot_time): Put local variable used in conditinally compiled section in #ifdef. (toplevel): Include stdio.h. --- diff --git a/src/filelock.c b/src/filelock.c index ec3fa3cf48c..bcb71cb8c77 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -23,6 +23,7 @@ Boston, MA 02111-1307, USA. */ #include #include #include +#include #ifdef HAVE_STDLIB_H #include #endif @@ -125,7 +126,9 @@ extern Lisp_Object Vshell_file_name; static time_t get_boot_time () { +#if defined (BOOT_TIME) && ! defined (NO_WTMP_FILE) int counter; +#endif if (boot_time_initialized) return boot_time;