diff options
| author | Karl Heuer <kwzh@gnu.org> | 1998-04-08 06:48:59 +0000 |
|---|---|---|
| committer | Karl Heuer <kwzh@gnu.org> | 1998-04-08 06:48:59 +0000 |
| commit | e788eecc88e9734002c5b03c9955228382c0303c (patch) | |
| tree | a2e1c0dbafd3a3899ac493f09408e98b5e0c6600 /src/filelock.c | |
| parent | e13608fb0515d989196f14a93a21d81a41ae801f (diff) | |
| download | emacs-e788eecc88e9734002c5b03c9955228382c0303c.tar.gz | |
Include <utmp.h> only if CLASH_DETECTION is
defined.
Diffstat (limited to 'src/filelock.c')
| -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 |
