[2058] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

malloc.h is not standard

daemon@ATHENA.MIT.EDU (Paul A Vixie)
Mon Dec 2 20:52:11 1996

To: krbdev@MIT.EDU
Date: Mon, 02 Dec 1996 17:51:57 -0800
From: Paul A Vixie <paul@vix.com>

According to ANSI C, when you want to use malloc() you #include <stdlib.h>.
Not <malloc.h>.  No standard anywhere, except maybe SVID, mentions <malloc.h>.

This breaks compilation on BSD/OS 2.1.  I'm going to make a dummy <malloc.h>
that just #include's <stdlib.h> but you should fix this in the source before
releasing Kerberos 5.

home help back first fref pref prev next nref lref last post