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 /src/thread.h | |
| 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 'src/thread.h')
| -rw-r--r-- | src/thread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h index d155837ccad..91bab8284e6 100644 --- a/src/thread.h +++ b/src/thread.h | |||
| @@ -21,6 +21,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 21 | 21 | ||
| 22 | #include "regex.h" | 22 | #include "regex.h" |
| 23 | 23 | ||
| 24 | #ifdef WINDOWSNT | ||
| 25 | #include <sys/socket.h> | ||
| 26 | #endif | ||
| 27 | |||
| 24 | #include "sysselect.h" /* FIXME */ | 28 | #include "sysselect.h" /* FIXME */ |
| 25 | #include "systime.h" /* FIXME */ | 29 | #include "systime.h" /* FIXME */ |
| 26 | 30 | ||