[PATCH v1] include sys/types.h to include defination of clockid_t

Eshan Dhawan eshandhawan51 at gmail.com
Thu Mar 12 18:21:55 UTC 2020


Hello
I sent this patch a few days ago but no one reviewed it.
If someone could look into it and give feedback.

patch link: https://lists.rtems.org/pipermail/devel/2020-March/058044.html

On Fri, Mar 6, 2020 at 7:50 PM Eshan dhawan <eshandhawan51 at gmail.com> wrote:

> ---
>  cpukit/posix/src/pthreadgetcpuclockid.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/cpukit/posix/src/pthreadgetcpuclockid.c
> b/cpukit/posix/src/pthreadgetcpuclockid.c
> index cd7814b1a6..159a3f9791 100644
> --- a/cpukit/posix/src/pthreadgetcpuclockid.c
> +++ b/cpukit/posix/src/pthreadgetcpuclockid.c
> @@ -22,7 +22,7 @@
>
>  #include <pthread.h>
>  #include <errno.h>
> -
> +#include <sys/types.h>
>  #include <rtems/seterr.h>
>
>  int pthread_getcpuclockid(
> --
> 2.17.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200312/ec4b92e3/attachment.html>


More information about the devel mailing list