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

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

* 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.

-Alfred

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2000-02-15 03:21:01 Re: [PATCHES] Re: [HACKERS] Almost there on column aliases
Previous Message The Hermit Hacker 2000-02-15 02:46:26 Re: [HACKERS] pid_t define missing in include/miscadmin.h ...