Commit e788eecc authored by Karl Heuer's avatar Karl Heuer
Browse files

Include <utmp.h> only if CLASH_DETECTION is

defined.
parent e13608fb
......@@ -38,13 +38,14 @@ Boston, MA 02111-1307, USA. */
#include "buffer.h"
#include <time.h>
#include <utmp.h>
#include <errno.h>
#ifndef errno
extern int errno;
#endif
#ifdef CLASH_DETECTION
#include <utmp.h>
/* The strategy: to lock a file FN, create a symlink .#FN in FN's
directory, with link data `user@host.pid'. This avoids a single
......
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