[PATCH v1] include sys/types.h to include defination of clockid_t
Eshan dhawan
eshandhawan51 at gmail.com
Fri Mar 6 14:20:01 UTC 2020
---
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
More information about the devel
mailing list