Re: [HACKERS] pid_t define missing in include/miscadmin.h ... - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] pid_t define missing in include/miscadmin.h ...
Date
Msg-id 200002150208.VAA27870@candle.pha.pa.us
Whole thread Raw
In response to pid_t define missing in include/miscadmin.h ...  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: [HACKERS] pid_t define missing in include/miscadmin.h ...
List 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@hub.org           secondary: scrappy@{freebsd|postgresql}.org 
> 
> 
> ************
> 


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


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Release on the 15th?
Next
From: "aubrey"
Date:
Subject: subscribe