summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/rtems/cache.h')
-rw-r--r--cpukit/include/rtems/rtems/cache.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/include/rtems/rtems/cache.h b/cpukit/include/rtems/rtems/cache.h
index 6d6c935eed..16157b26e6 100644
--- a/cpukit/include/rtems/rtems/cache.h
+++ b/cpukit/include/rtems/rtems/cache.h
@@ -15,12 +15,16 @@
#ifndef _RTEMS_RTEMS_CACHE_H
#define _RTEMS_RTEMS_CACHE_H
+#include <rtems/score/basedefs.h>
+
+#if defined( RTEMS_SMP )
+#include <sys/cpuset.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
-#include <rtems/score/basedefs.h>
-
/**
* @defgroup ClassicCache Cache
*