summaryrefslogtreecommitdiff
path: root/lisp/userlock.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/userlock.el')
-rw-r--r--lisp/userlock.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/userlock.el b/lisp/userlock.el
index ec5215badb5..1a1adebdde9 100644
--- a/lisp/userlock.el
+++ b/lisp/userlock.el
@@ -32,6 +32,8 @@
;;; Code:
+(eval-when-compile (require 'cl-lib))
+
(define-error 'file-locked "File is locked" 'file-error)
;;;###autoload