[rtems commit] libcsupport: Add missing include

Sebastian Huber sebh at rtems.org
Thu Nov 8 12:20:12 UTC 2018


Module:    rtems
Branch:    master
Commit:    ac8025c113ad55f11149aab71d9662c54a553f1e
Changeset: http://git.rtems.org/rtems/commit/?id=ac8025c113ad55f11149aab71d9662c54a553f1e

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Nov  8 13:09:54 2018 +0100

libcsupport: Add missing include

Update #3598.

---

 cpukit/libcsupport/src/sync.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpukit/libcsupport/src/sync.c b/cpukit/libcsupport/src/sync.c
index 1786b59..3586ada 100644
--- a/cpukit/libcsupport/src/sync.c
+++ b/cpukit/libcsupport/src/sync.c
@@ -29,6 +29,7 @@ int fdatasync(int);        /* still not always prototyped */
 #include <stdio.h>
 
 #include <rtems.h>
+#include <rtems/score/thread.h>
 #include <rtems/score/percpu.h>
 
 /* XXX check standards -- Linux version appears to be void */




More information about the vc mailing list