diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-14 07:23:21 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-14 07:24:08 +0100 |
commit | dc563556339caa13b6579dce93f7981ff414a40f (patch) | |
tree | 373170f23cf37f27e4c8b153b05597ca44be4e53 | |
parent | or1k: Support GCC 9 (diff) | |
download | rtems-dc563556339caa13b6579dce93f7981ff414a40f.tar.bz2 |
Include missing <sys/cpuset.h>
Update #3598.
-rw-r--r-- | cpukit/include/rtems/rtems/cache.h | 8 |
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 * |