Ed L. wrote:
> gcc -O2 -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 In file included from pg_sema.c:22:
> /usr/include/sys/ipc.h:51: error: parse error before "cid_t"
> /usr/include/sys/ipc.h:56: error: parse error before '}' token
Evidently, you need to include another header before sys/ipc.h, namely
the one that defines the cid_t type. Care to find out which one that
is?
--
Peter Eisentraut
http://developer.postgresql.org/~petere/