Moved __cplusplus extern statement to include struct definitions as well.
diff --git a/include/polarssl/camellia.h b/include/polarssl/camellia.h
index 050c6cd..e46e175 100644
--- a/include/polarssl/camellia.h
+++ b/include/polarssl/camellia.h
@@ -48,6 +48,10 @@
 // Regular implementation
 //
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * \brief          CAMELLIA context structure
  */
@@ -58,10 +62,6 @@
 }
 camellia_context;
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 /**
  * \brief          CAMELLIA key schedule (encryption)
  *