From: Sebastian Huber --- rtems/rtems_yaffs.h | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rtems/rtems_yaffs.h b/rtems/rtems_yaffs.h index b55001d..dce8204 100644 --- a/rtems/rtems_yaffs.h +++ b/rtems/rtems_yaffs.h @@ -24,13 +24,14 @@ #include #include -#include "yportenv.h" -#include "yaffs_guts.h" - #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ +/* Must be inside the extern "C" */ +#include "yportenv.h" +#include "yaffs_guts.h" + /** * @defgroup rtems_yaffs YAFFS Support for RTEMS * -- 1.7.4.1