[PATCH] time: Define _STRUCT_TIMESPEC in <bits/types/struct_timespec.h>

Florian Weimer fweimer@redhat.com
Tue Jun 26 17:03:00 GMT 2018


On 06/21/2018 01:24 PM, Florian Weimer wrote:
> 2018-06-21  Florian Weimer<fweimer@redhat.com>
> 
> 	* time/bits/types/struct_timespec.h (_STRUCT_TIMESPEC): Define.
> 
> diff --git a/time/bits/types/struct_timespec.h b/time/bits/types/struct_timespec.h
> index 644db9fdb6..5b77c52b4f 100644
> --- a/time/bits/types/struct_timespec.h
> +++ b/time/bits/types/struct_timespec.h
> @@ -1,5 +1,6 @@
> -#ifndef __timespec_defined
> -#define __timespec_defined 1
> +/* NB: Include guard matches what <linux/time.h> uses.  */
> +#ifndef _STRUCT_TIMESPEC
> +#define _STRUCT_TIMESPEC 1
>   
>   #include <bits/types.h>

Ping?

Thanks,
Florian



More information about the Libc-alpha mailing list