]> code.delx.au - gnu-emacs/blobdiff - src/filelock.c
Some changes from Michael K. Johnson for Linux.
[gnu-emacs] / src / filelock.c
index 7a473753e58f514514f078cc5c75ebc5c33e9717..738cb382b982afa83418d0f73dbd7c2f6143f5e1 100644 (file)
@@ -40,6 +40,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 extern int errno;
 
 extern char *egetenv ();
+extern char *strcpy ();
 
 #ifdef CLASH_DETECTION
   
@@ -65,7 +66,7 @@ char *superlock_path;
 
 /* Set LOCK to the name of the lock file for the filename FILE.
    char *LOCK; Lisp_Object FILE;  */
-#define MAKE_LOCK_PATH (lock, file) \
+#define MAKE_LOCK_PATH(lock, file) \
   (lock = (char *) alloca (XSTRING (file)->size + strlen (lock_path) + 1), \
    fill_in_lock_file_name (lock, (file)))