diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-09-14 13:48:18 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-09-14 13:48:18 +0200 |
commit | 9e30ed63bcc0b32d4b4c575027249b9dbb934b98 (patch) | |
tree | e60cbb17d6ff9fca1af72fc8fc9d18a65c4db528 /rtems | |
parent | 01ee204384ad4627189ef673b79086c04f74518d (diff) |
C++ compatibility.
Diffstat (limited to 'rtems')
-rw-r--r-- | 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 <rtems.h> #include <rtems/fs.h> -#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 * |