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

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Alfred Perlstein <bright(at)wintelcom(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] pid_t define missing in include/miscadmin.h ...
Date: 2000-02-15 02:46:26
Message-ID: Pine.BSF.4.21.0002142246050.74045-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 14 Feb 2000, Alfred Perlstein wrote:

> * The Hermit Hacker <scrappy(at)hub(dot)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 :(

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alfred Perlstein 2000-02-15 02:55:24 Re: [HACKERS] pid_t define missing in include/miscadmin.h ...
Previous Message Thomas Lockhart 2000-02-15 02:44:58 Re: [HACKERS] Release on the 15th?