RE: [PATCH] tools/thermal: tmon: include pthread and time headers in tmon.h

2020-08-09 Thread Alejandro González
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 > > >

RE: [PATCH] tools/thermal: tmon: include pthread and time headers in tmon.h

2020-06-23 Thread Pawnikar, Sumeet R
> -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

Re: [PATCH] tools/thermal: tmon: include pthread and time headers in tmon.h

2020-06-17 Thread Florian Fainelli
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

[PATCH] tools/thermal: tmon: include pthread and time headers in tmon.h

2020-06-17 Thread Markus Mayer
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