On Thursday September 8 2005 4:08 pm, Tom Lane wrote:
> "Ed L." <pgsql@bluepolka.net> writes:
> > I see sys/ipc.h already #includes sys/types.h, though.
>
> Possibly there's some magic #define needed to expose the cid_t
> definition?
>
> We have this in src/template/hpux
> CPPFLAGS="-D_XOPEN_SOURCE_EXTENDED"
> because it seems necessary on HPUX 10. It used to work on
> HPUX 11 too, the last time I tried that ...
Here's my 11.23 compile line:
gcc -O2 -mlp64 -Wall -Wmissing-prototypes -Wpointer-arith
-Wendif-labels -fno-strict-aliasing -I../../../src/include
-D_XOPEN_SOURCE_EXTENDED -c -o pg_sema.o pg_sema.c
I've attached sys/types.h and sys/ipc.h. I'm happy to try any
patches you suggest...
Ed