Fix the MS-Windows build.

src/sysdep.c [WINDOWSNT]: Include sys/socket.h, without which this
 file doesn't compile on MS-Windows.
This commit is contained in:
Eli Zaretskii 2014-12-29 23:02:22 +02:00
parent a5e5d7773b
commit 8ae52a7703
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2014-12-29 Eli Zaretskii <eliz@gnu.org>
* sysdep.c [WINDOWSNT]: Include sys/socket.h, without which this
file doesn't compile on MS-Windows.
2014-12-28 Paul Eggert <eggert@cs.ucla.edu>
Fix produce_composite_width typo

View file

@ -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"