summaryrefslogtreecommitdiff
path: root/src/emacs.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/emacs.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/emacs.c')
-rw-r--r--src/emacs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index e4412e2ea1a..edf98d8cdb5 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -34,6 +34,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#ifdef WINDOWSNT
#include <fcntl.h>
+#include <sys/socket.h>
#include "w32.h"
#include "w32heap.h"
#endif