Re: [HACKERS] pid_t define missing in include/miscadmin.h ...

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Re: [HACKERS] pid_t define missing in include/miscadmin.h ...
Дата
Msg-id Pine.BSF.4.21.0002142246050.74045-100000@thelab.hub.org
обсуждение исходный текст
Ответ на Re: [HACKERS] pid_t define missing in include/miscadmin.h ...  (Alfred Perlstein <bright@wintelcom.net>)
Список pgsql-hackers
On Mon, 14 Feb 2000, Alfred Perlstein wrote:

> * The Hermit Hacker <scrappy@hub.org> [000214 17:43] wrote:
> > 
> > Okay, I may be missing something here, but:
> > 
> > gmake[2]: Entering directory `/usr/local/pgsql/src/pgsql/src/backend/parser'
> > gcc -I../../include -I../../backend   -O2 -m486 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -I..
-Wno-error  -c scansup.c -o scansup.o
 
> > In file included from scansup.c:20:
> > ../../include/miscadmin.h:225: syntax error before `pid'
> > gmake[2]: *** [scansup.o] Error 1
> > 
> > Looking at include/miscadmin.h:
> > 
> > =========
> > extern int SetPidFile(pid_t pid);
> > 
> > #endif   /* MISCADMIN_H */
> > =========
> > 
> > but I can't find anywhere that pid_t is defined, and the cvs logs don't
> > appear to indicate that anyone has touched that file in a few weeks ...
> > 
> > So, am I missing something?  This is using CVS source as of today, on
> > FreeBSD 4.0-CURRENT ... 
> 
> Someone forgot to include <sys/types.h>.  I brought this up before but my
> inexperiance with the postgresql build leaves me without a solution except
> a simple #include directive in the offending file.

That's what I'm thinking too ... but *so far* its looking like its only
affecting the FreeBSDers :(




В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: schema: pg_dump -s ipmeter (fwd)
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: [PATCHES] Re: [HACKERS] Almost there on column aliases