Date: Mon, 19 Aug 1996 14:47:02 -0400 (EDT) From: "Marc G. Fournier" <scrappy@ki.net> To: current@freebsd.org Subject: Odd problem with include files... Message-ID: <Pine.NEB.3.95.960819144239.21206Z-100000@quagmire.ki.net>
next in thread | raw e-mail | index | archive | help
Hi... I'm working on Postgres95 under 2.2-Current, and keep running across: In file included from /home/staff/scrappy/postgres/base/postgres95/src/backend/./storage/ipc.h:23, from /home/staff/scrappy/postgres/base/postgres95/src/backend/access/common/heaptuple.c:27: /usr/include/sys/ipc.h:60: parse error before `key_t' /usr/include/sys/ipc.h:60: warning: no semicolon at end of struct or union If I look in 'storage/ipc.h', the includes are called as: #include <sys/types.h> #ifndef _IPC_ #define _IPC_ #include <sys/ipc.h> #endif And key_t is defined in sys/types.h...so it should be fine for ipc.h... If I add: typedef long key_t; /* IPC key (for Sys V IPC) */ to sys/ipc.h, it compiles fine...looking at sys/types.h, I can't see any 'ifdef's that would be affecting this... Any ideas as to why its not being defined correctly? Marc G. Fournier scrappy@ki.net Systems Administrator @ ki.net scrappy@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.960819144239.21206Z-100000>