summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-25 14:11:53 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-26 09:16:25 +0200
commit48fed9a56e6df6e766ca18d821278112fc1bfa10 (patch)
tree4a9a0938539b804ac968f75b05bb47c94ff00ca8 /cpukit/libcsupport
parentscore: Fix extern "C" in <rtems/score/heap.h> (diff)
downloadrtems-48fed9a56e6df6e766ca18d821278112fc1bfa10.tar.bz2
score: Simplify <rtems/system.h>
Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/src/sync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/sync.c b/cpukit/libcsupport/src/sync.c
index 9f6e31ba0c..214e42c631 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/percpu.h>
/* XXX check standards -- Linux version appears to be void */
void _fwalk(struct _reent *, void *);