Commit 2decc5a9 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(get_boot_time): Put local variable used in

conditinally compiled section in #ifdef.
(toplevel): Include stdio.h.
parent cb81ac97
......@@ -23,6 +23,7 @@ Boston, MA 02111-1307, USA. */
#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 @@ 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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment