aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/filelock.c3
1 files changed, 3 insertions, 0 deletions
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. */
23#include <sys/stat.h> 23#include <sys/stat.h>
24#include <signal.h> 24#include <signal.h>
25#include <config.h> 25#include <config.h>
26#include <stdio.h>
26#ifdef HAVE_STDLIB_H 27#ifdef HAVE_STDLIB_H
27#include <stdlib.h> 28#include <stdlib.h>
28#endif 29#endif
@@ -125,7 +126,9 @@ extern Lisp_Object Vshell_file_name;
125static time_t 126static time_t
126get_boot_time () 127get_boot_time ()
127{ 128{
129#if defined (BOOT_TIME) && ! defined (NO_WTMP_FILE)
128 int counter; 130 int counter;
131#endif
129 132
130 if (boot_time_initialized) 133 if (boot_time_initialized)
131 return boot_time; 134 return boot_time;