summaryrefslogtreecommitdiff
path: root/src/filelock.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-07-07 21:48:16 +0300
committerEli Zaretskii <eliz@gnu.org>2013-07-07 21:48:16 +0300
commit1d44267275efdcee3c3584eaa79baccad54266b3 (patch)
tree8d60e01abe034165811f5184c8e39afe6b367d68 /src/filelock.c
parent067428c1717acd28f205c2cff93f0583eb347f4c (diff)
downloademacs-1d44267275efdcee3c3584eaa79baccad54266b3.tar.gz
MS-Windows followup for 2013-07-07T18:00:14Z!eggert@cs.ucla.edu.
nt/inc/sys/socket.h (F_SETFD, O_CLOEXEC, F_DUPFD_CLOEXEC) (FD_CLOEXEC): New macros. src/w32.c (sys_dup): Declare prototype. src/filelock.c: src/emacs.c: src/callproc.c [WINDOWSNT]: Include sys/socket.h.
Diffstat (limited to 'src/filelock.c')
-rw-r--r--src/filelock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filelock.c b/src/filelock.c
index 1fcd2432484..6e939f271d7 100644
--- a/src/filelock.c
+++ b/src/filelock.c
@@ -47,6 +47,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "systime.h"
#ifdef WINDOWSNT
#include <share.h>
+#include <sys/socket.h> /* for fcntl */
#include "w32.h" /* for dostounix_filename */
#endif