[lvm-devel] [PATCH] libdm: do not in include internal bits/time.h header

Bryn M. Reeves bmr at redhat.com
Fri Aug 14 10:35:32 UTC 2015


On Thu, Aug 13, 2015 at 09:16:28AM +0200, Natanael Copa wrote:
> Do not include bits/time.h as it is an internal libc header file.
> 
> A comment at the top of the glibc specific bits/time.h says:
> "Never include this file directly; use <time.h> instead."
> 
> This fixes the following build error with musl libc:
> libdm-timestamp.c:37:23: fatal error: bits/time.h: No such file or directory

Applied - thanks!

Regards,
Bryn.




More information about the lvm-devel mailing list