diff options
| -rw-r--r-- | src/filelock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filelock.c b/src/filelock.c index b17fab1c6af..134b3808acd 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -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 |
