summaryrefslogtreecommitdiff
path: root/src/filelock.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1998-04-14 12:25:56 +0000
committerAndreas Schwab <schwab@suse.de>1998-04-14 12:25:56 +0000
commit127fe5cf2e589b6e57928836773d096e7d822295 (patch)
tree3709c1849a5915a4b7b4ee9733244ce554441055 /src/filelock.c
parentd9569e3eccc33dfcec541ded7871629b454fd936 (diff)
downloademacs-127fe5cf2e589b6e57928836773d096e7d822295.tar.gz
Fix -Wimplicit warnings.
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);