all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Bootstrap failed during compile of process.c
Date: Wed, 04 Jan 2006 18:51:18 +0100	[thread overview]
Message-ID: <43BC0B16.6060607@student.lu.se> (raw)
In-Reply-To: <m3psn8f0x3.fsf@kfs-l.imdomain.dk>

Kim F. Storm wrote:

>Lennart Borgman <lennart.borgman.073@student.lu.se> 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	other threads:[~2006-01-04 17:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-04  6:58 Bootstrap failed during compile of process.c Lennart Borgman
2006-01-04  9:05 ` Kim F. Storm
2006-01-04 14:31   ` Lennart Borgman
2006-01-04 15:49     ` Kim F. Storm
2006-01-04 17:51       ` Lennart Borgman [this message]
2006-01-04 17:59       ` Eli Zaretskii
2006-01-04 17:56     ` Eli Zaretskii
2006-01-04 18:22       ` Lennart Borgman
2006-01-04 18:27         ` Eli Zaretskii
2006-01-04 18:50           ` Lennart Borgman
2006-01-04 19:59             ` Lennart Borgman
2006-01-04 18:43       ` Lennart Borgman
2006-01-05 16:02         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43BC0B16.6060607@student.lu.se \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.