summaryrefslogtreecommitdiff
path: root/src/filelock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/filelock.c')
-rw-r--r--src/filelock.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/filelock.c b/src/filelock.c
index 134b3808acd..50e86536268 100644
--- a/src/filelock.c
+++ b/src/filelock.c
@@ -20,6 +20,7 @@ Boston, MA 02111-1307, USA. */
#include <sys/types.h>
#include <sys/stat.h>
+#include <signal.h>
#include <config.h>
#ifdef VMS
@@ -34,6 +35,10 @@ Boston, MA 02111-1307, USA. */
#include <string.h>
#endif /* USG */
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#include "lisp.h"
#include "buffer.h"
@@ -515,6 +520,7 @@ t if it is locked by you, else a string of the name of the locker.")
/* Initialization functions. */
+void
syms_of_filelock ()
{
defsubr (&Sunlock_buffer);