t; Kernel Mailing List
> > Subject: Re: [PATCH] tools/thermal: tmon: include pthread and time headers
> > in tmon.h
> >
> >
> >
> > On 6/17/2020 4:58 PM, Markus Mayer wrote:
> > > Include sys/time.h and pthread.h in tmon.h, so that types
> > >
> -Original Message-
> From: Florian Fainelli
> Sent: Thursday, June 18, 2020 8:23 AM
> To: Markus Mayer ; Daniel Lezcano
> ; Pawnikar, Sumeet R
> ; Zhang, Rui ; Brian
> Norris
> Cc: Broadcom Kernel List ; Linux
> Kernel Mailing List
> Subject: Re: [PATCH
On 6/17/2020 4:58 PM, Markus Mayer wrote:
> Include sys/time.h and pthread.h in tmon.h, so that types
> "pthread_mutex_t" and "struct timeval tv" are known when tmon.h
> references them.
>
> Without these headers, compiling tmon against musl-libc will fail with
> these errors:
>
> In file
Include sys/time.h and pthread.h in tmon.h, so that types
"pthread_mutex_t" and "struct timeval tv" are known when tmon.h
references them.
Without these headers, compiling tmon against musl-libc will fail with
these errors:
In file included from sysfs.c:31:0:
tmon.h:47:8: error: unknown type
4 matches
Mail list logo