Lorenzo Bettini wrote:
> gnulib-tool says:
> 
> You may need to add #include directives for the following .h files.
>    #include <getopt.h>
> 
> shouldn't it be
> 
>    #include "getopt.h"
> 
> ?

Given that the source and build directories are searched by the compiler
(due to the many "-I." flags), it boils down to a matter of style.

We write <stdbool.h> since <stdbool.h> is a standard header.

We write <getopt.h> since glibc and other systems have it.

Some people write <error.h> since glibc has it; some people write "error.h"
since only glibc has it.

You see, there's no clear borderline between <> and "".

Bruno


Reply via email to