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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
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:08:20
Message-ID: 200002150208.VAA27870@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

pid_t is in /usr/include/sys/types.h. Maybe it is missing that include?

> 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 ...
>
> Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
> Systems Administrator @ hub.org
> primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org
>
>
> ************
>

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message aubrey 2000-02-15 02:09:20 subscribe
Previous Message The Hermit Hacker 2000-02-15 01:19:48 Re: [HACKERS] Release on the 15th?