aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/filelock.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/filelock.c b/src/filelock.c
index 71fa7867cf0..4ca356f337f 100644
--- a/src/filelock.c
+++ b/src/filelock.c
@@ -32,33 +32,32 @@ Boston, MA 02111-1307, USA. */
32#endif /* not VMS */ 32#endif /* not VMS */
33 33
34#include <sys/file.h> 34#include <sys/file.h>
35#ifdef USG 35#ifdef HAVE_FCNTL_H
36#include <fcntl.h> 36#include <fcntl.h>
37#endif
38#ifdef HAVE_STRING_H
37#include <string.h> 39#include <string.h>
38#endif /* USG */ 40#endif
39 41
40#ifdef HAVE_UNISTD_H 42#ifdef HAVE_UNISTD_H
41#include <unistd.h> 43#include <unistd.h>
42#endif 44#endif
43 45
44#ifdef __FreeBSD__ 46#ifdef __FreeBSD__
45#include <sys/time.h>
46#include <sys/types.h>
47#include <sys/sysctl.h> 47#include <sys/sysctl.h>
48#endif /* __FreeBSD__ */ 48#endif /* __FreeBSD__ */
49 49
50#include <errno.h>
51#ifndef errno
52extern int errno;
53#endif
54
50#include "lisp.h" 55#include "lisp.h"
51#include "buffer.h" 56#include "buffer.h"
52#include "charset.h" 57#include "charset.h"
53#include "coding.h" 58#include "coding.h"
54#include "systime.h" 59#include "systime.h"
55 60
56#include <time.h>
57#include <errno.h>
58#ifndef errno
59extern int errno;
60#endif
61
62/* The directory for writing temporary files. */ 61/* The directory for writing temporary files. */
63 62
64Lisp_Object Vtemporary_file_directory; 63Lisp_Object Vtemporary_file_directory;