public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* in.h
@ 2000-05-24 13:55 Craig Stevenson
  0 siblings, 0 replies; 2+ messages in thread
From: Craig Stevenson @ 2000-05-24 13:55 UTC (permalink / raw)
  To: cygwin

Hi:

I have a build problem with
/usr/i686-pc-cygwin/include/cygwin/in.h

At the bottom of this file we have the following:

<snip>
/*
 *  IPv6 definitions as we start to include them. This
is just
 *  a beginning dont get excited 8)
 */

struct in6_addr
{
    unsigned char s6_addr[16];
};

struct sockaddr_in6
{
    unsigned short sin6_family;
    unsigned short sin6_port;
    unsigned long sin6_flowinfo;
    struct in_addr6 sin6_addr;
};
<snip>

The problem is with hollering about in_addr6.  It
looks like there might be a typo in the prior struct.

My solution is to change the prior struct to conform
with the second one:

<snip>
struct in_addr6
{
    unsigned char s6_addr[16];
};

struct sockaddr_in6
{
    unsigned short sin6_family;
    unsigned short sin6_port;
    unsigned long sin6_flowinfo;
    struct in_addr6 sin6_addr;
};
<snip>

My app build's now, but I wanted to report this to
ya'll.

Cheer-o.


=====
-- Craig Stevenson
-- Home Page: http://www.sdc.org/~craigs/
-- Recently computed: The 200 billionth digit of pi is 2.

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: in.h
@ 2000-05-24 17:47 Earnie Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Earnie Boyd @ 2000-05-24 17:47 UTC (permalink / raw)
  To: craig.stevenson, cygwin

--- Craig Stevenson <craig_stevenson_of_socorro@yahoo.com> wrote:
-8<-
> 
> My app build's now, but I wanted to report this to
> ya'll.
> 

Too bad, others beat you to it ;0

Cheers,

=====
---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-05-24 17:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-24 13:55 in.h Craig Stevenson
2000-05-24 17:47 in.h Earnie Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).