# HG changeset patch # User Dave Love # Date 961777890 0 # Node ID e5461cec39b8637adcffa4d4be7bd8e958dfbfb9 # Parent 2479a01a0bc352794462cd6ba75f7db823f9de46 Use feature tests for fcntl.h, string.h. Don't include time.h, done by systime.h. [__FreeBSD__]: Remove redundant includes. diff -r 2479a01a0bc3 -r e5461cec39b8 src/filelock.c --- a/src/filelock.c Fri Jun 23 16:17:05 2000 +0000 +++ b/src/filelock.c Fri Jun 23 16:31:30 2000 +0000 @@ -32,33 +32,32 @@ #endif /* not VMS */ #include -#ifdef USG +#ifdef HAVE_FCNTL_H #include +#endif +#ifdef HAVE_STRING_H #include -#endif /* USG */ +#endif #ifdef HAVE_UNISTD_H #include #endif #ifdef __FreeBSD__ -#include -#include #include #endif /* __FreeBSD__ */ +#include +#ifndef errno +extern int errno; +#endif + #include "lisp.h" #include "buffer.h" #include "charset.h" #include "coding.h" #include "systime.h" -#include -#include -#ifndef errno -extern int errno; -#endif - /* The directory for writing temporary files. */ Lisp_Object Vtemporary_file_directory;