On 05/16/2011 01:53 PM, Sam Steingold wrote:
> DIUC that if I include the sys_time & unistd modules, I can write
> 
> #include <unistd.h>
> #include <sys/time.h>
> 
> instead of
> 
> #ifdef HAVE_SYS_TIME_H
>  #include <sys/time.h>
> #endif
> #ifdef HAVE_UNISTD_H
>   #include <unistd.h>
> #endif
> 
> ??
> 
> the same question for all the other headers...

Absolutely!  In fact, the maintainer-mode module includes the
sc_prohibit_always_true_header_tests to help you check for files where
you can unconditionally include headers guaranteed by gnulib replacements.

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to