Moved __cplusplus extern statement to include struct definitions as well.
diff --git a/include/polarssl/blowfish.h b/include/polarssl/blowfish.h
index 9b269b7..b1932e7 100644
--- a/include/polarssl/blowfish.h
+++ b/include/polarssl/blowfish.h
@@ -52,6 +52,10 @@
 // Regular implementation
 //
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * \brief          Blowfish context structure
  */
@@ -62,10 +66,6 @@
 }
 blowfish_context;
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 /**
  * \brief          Blowfish key schedule
  *