From 9e30ed63bcc0b32d4b4c575027249b9dbb934b98 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 14 Sep 2011 13:48:18 +0200 Subject: C++ compatibility. --- rtems/rtems_yaffs.h | 7 ++++--- 1 file 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 * -- cgit v1.2.3