emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bootstrap failed during compile of process.c


From: Lennart Borgman
Subject: Re: Bootstrap failed during compile of process.c
Date: Wed, 04 Jan 2006 18:51:18 +0100
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Kim F. Storm wrote:

Lennart Borgman <address@hidden> writes:

I looked in the header files for MinGW5 and sockaddr_in6 is found in
ws2tcpip.h. This is consistent with

  
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/sockaddr_2.asp

Where should ws2tcpip.h be included? Or should it currently?

Does this fix it?

*** process.c   04 Jan 2006 01:06:39 +0100      1.469
--- process.c   04 Jan 2006 16:49:14 +0100      
***************
*** 108,113 ****
--- 108,117 ----
 #endif
 #include <net/if.h>
 #endif
+ + #if defined(WINDOWSNT) && defined(AF_INET6)
+ #include <ws2tcpip.h>
+ #endif
 #endif
#ifdef IRIS
I had to make the changes below too to make it compile. It compiles, I can start it - but I have no idea if this is correct.

-- Lennart


Index: nt/inc/sys/socket.h
===================================================================
RCS file: /cvsroot/emacs/emacs/nt/inc/sys/socket.h,v
retrieving revision 1.11
diff -c -r1.11 socket.h
*** nt/inc/sys/socket.h    10 Aug 2005 15:40:54 -0000    1.11
--- nt/inc/sys/socket.h    4 Jan 2006 16:29:14 -0000
***************
*** 50,56 ****
 #define timeval ws_timeval
 #endif

! #include <winsock.h>

 /* redefine select to reference our version */
 #ifdef MUST_REDEF_SELECT
--- 50,56 ----
 #define timeval ws_timeval
 #endif

! #include <winsock2.h>

 /* redefine select to reference our version */
 #ifdef MUST_REDEF_SELECT





reply via email to

[Prev in Thread] Current Thread [Next in Thread]