mallinfo2: include malloc header even if mallinfo undetected
It may be the case that for some reason, -Werror deprecated for instance, that mallinfo isn't detected. In this case the malloc.h headers won't be included which defined the mallinfo2 function and its structure. Re-organise so that either function pulls in the header.
Showing
Please register or sign in to comment