Subject: proc.h
To: None <port-alpha@netbsd.org>
From: Berndt Josef Wulf <wulf@dingo.ping.net.au>
List: port-alpha
Date: 12/14/1999 12:24:28
G'day,

when a header file calls for a variable/definition defined externally
shouldn't it then include the file which defines it?

E.g.: Use of <sys/proc.h> will fail if <sys/param.h> isn't
included previously, as it uses external definitions such as
MAXLOGNAME.

I've noticed this with several header files and worked around it by
modifying the source code of the application accordingly.

Can someone comment on this as this?

I came across this whilst compiling postgresql-current on NetBSD-alpha
which is almost completed. Will keep you informed on this... ;)

Many thanks in advance

cheerio Berndt
-- 
Name    : Berndt Josef Wulf            | +++ With BSD on Packet Radio +++
E-Mail  : wulf@ping.net.au             |    tfkiss, tnt, dpbox, wampes
ICQ     : 18196098                     |  VK5ABN, Nairne, South Australia 
URL     : http://www.ping.net.au/~wulf | MBOX : vk5abn@vk5abn.#lmr.#sa.au.oc
Sysinfo : DEC AXPpci33+, NetBSD-1.4    | BBS  : vk5abn.#lmr.#sa.aus.oc