They are, but if they are not found in the local directory, they are also
searched for in the system directories.

That said, in this case using the angle brackets is the correct thing to
use.

On 29 August 2016 at 13:08, Christian Robert <christian.rob...@polymtl.ca>
wrote:

> that should read:
>
> #include <malloc.h>
>
> or better
>
> #include <stdlib.h>
>
> things in double quotes are searched in local directory by default and not
> in system.
>
> Xtian.
>
>
> On 2016-08-28 23:42, Xiao-Yong Jin wrote:
>
>>     LApack.cc:21:20: fatal error: malloc.h: No such file or directory
>>      #include "malloc.h"
>>                     ^
>>     compilation terminated.
>>
>> Under OS X, it’s in /usr/include/malloc/malloc.h
>>
>> Is it actually needed?  The code compiles fine without the #include.
>>
>> Best,
>> Xiao-Yong
>>
>>
>>
>>
>

Reply via email to