Re: [RFA/commit] include alloca.h if available.

Joel Brobecker
2010-09-01T04:38:27Z

> If it is just for malloc, it sounds like the include is no longer
> necessary? Unless of course malloc.h is the only location where
> alloca is defined on mingw32.

I just checked, and from what I can tell, no alloca.h on MinGW.
So the question is: Do we want to group all includes of malloc.h
in server.h? I don't see any strong reason to believe that one
way or the other is better, so I can live with the status quo.
But I'm happy to group them all, or even move the include of
alloca.h inside the various .c file as needed (it seems odd, now
that I think of it, to include alloca.h in server.h, and yet have
the includes of malloc.h spread out in the .c files).

--
Joel