diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-12-29 23:02:22 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-12-29 23:02:22 +0200 |
commit | 8ae52a77036340ca03f819f4bdb7738d48ce2d8c (patch) | |
tree | 1b9246612b14d75fbc6caa143339bee40326d7ac /src/sysdep.c | |
parent | a5e5d7773b39cd39924404d40093ba44fc0de7f8 (diff) | |
download | emacs-8ae52a77036340ca03f819f4bdb7738d48ce2d8c.tar.gz |
Fix the MS-Windows build.
src/sysdep.c [WINDOWSNT]: Include sys/socket.h, without which this
file doesn't compile on MS-Windows.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r-- | src/sysdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 013c86b859d..7158f38dba2 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -110,6 +110,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #define _P_WAIT 0 int _cdecl _spawnlp (int, const char *, const char *, ...); int _cdecl _getpid (void); +/* The following is needed for O_CLOEXEC, F_SETFD, FD_CLOEXEC, and + several prototypes of functions called below. */ +#include <sys/socket.h> #endif #include "syssignal.h" |