diff options
| author | Eli Zaretskii | 2015-11-02 19:04:06 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-11-02 19:04:06 +0200 |
| commit | 470e3028d8a741d97349faa8fdeb148d913a49d0 (patch) | |
| tree | d194711816fd6bc66726b0917ae74ef3116f38b1 /nt | |
| parent | 39372e1a1032521be74575bb06f95a3898fbae30 (diff) | |
| download | emacs-470e3028d8a741d97349faa8fdeb148d913a49d0.tar.gz emacs-470e3028d8a741d97349faa8fdeb148d913a49d0.zip | |
Fix the MS-Windows build
* src/thread.h [WINDOWSNT]: Include sys/socket.h.
* src/sysselect.h: Don't define fd_set and FD_* macros for
MS-Windows here.
* src/w32.h: Define them here.
* src/process.h (sys_select): Declare prototype.
* src/sysdep.c:
* src/process.c:
* src/filelock.c:
* src/emacs.c:
* src/callproc.c: Move inclusion of sys/select.h after lisp.h.
* nt/inc/socket.h: Include w32.h instead of sysselect.h
Diffstat (limited to 'nt')
| -rw-r--r-- | nt/inc/sys/socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nt/inc/sys/socket.h b/nt/inc/sys/socket.h index 6ad121699c5..067effe929e 100644 --- a/nt/inc/sys/socket.h +++ b/nt/inc/sys/socket.h | |||
| @@ -74,7 +74,7 @@ typedef unsigned short uint16_t; | |||
| 74 | 74 | ||
| 75 | /* allow us to provide our own version of fd_set */ | 75 | /* allow us to provide our own version of fd_set */ |
| 76 | #define fd_set ws_fd_set | 76 | #define fd_set ws_fd_set |
| 77 | #include "sysselect.h" | 77 | #include "w32.h" |
| 78 | #endif /* EMACS_CONFIG_H */ | 78 | #endif /* EMACS_CONFIG_H */ |
| 79 | 79 | ||
| 80 | #if defined (HAVE_TIMEVAL) && defined (_MSC_VER) | 80 | #if defined (HAVE_TIMEVAL) && defined (_MSC_VER) |