From: | Larry Rosenman <ler(at)lerctr(dot)org> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pete(dot)forman(at)westgeo(dot)com, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Re: Add support for <xti.h> |
Date: | 2000-10-20 04:00:55 |
Message-ID: | 20001019230055.A21586@lerami.lerctr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On my UnixWare Box, both xti.h and netinet/... are present.
(Arguably the ONE TRUE UNIX, decendant from the ATT sources, and all
that rot, and current highest SysVrX release, at SysV R5).
LER
* Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> [001019 22:34]:
> > Pete Forman wrote:
> > > The basic problem is that <netinet/tcp.h> is a BSD header. The
> > > correct header for TCP internals such as TCP_NODELAY on a UNIX system
> > > is <xti.h>. By UNIX I mean UNIX95 (aka XPG4v2 or SUSv1) or later.
> > > The 2 files which conditionally include <netinet/tcp.h> need also to
> > > conditionally include <xti.h>.
> >
> > This patch is causing compilation warnings on HPUX 10.20:
> >
> > gcc -c -I../../../src/include -O1 -Wall -Wmissing-prototypes -Wmissing-declarations -g -o pqcomm.o pqcomm.c
> > In file included from pqcomm.c:76:
> > /usr/include/netinet/tcp.h:71: warning: `TCP_NODELAY' redefined
> > /usr/include/sys/xti.h:469: warning: this is the location of the previous definition
> > /usr/include/netinet/tcp.h:72: warning: `TCP_MAXSEG' redefined
> > /usr/include/sys/xti.h:470: warning: this is the location of the previous definition
> >
> > I have never heard of <xti.h> before and am rather dubious that it
>
> Yes, I never heard of xti.h either.
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin O'Gorman | 2000-10-20 04:12:12 | Solved: Re: Unable to access CVS server |
Previous Message | Vince Vielhaber | 2000-10-20 03:39:46 | Re: Re: pg_dump docs |