Browse Source

Include defs in not cpp-section (#5466)

- closes https://github.com/assimp/assimp/issues/5428
Kim Kulling 1 year ago
parent
commit
94bc568d13
1 changed files with 3 additions and 3 deletions
  1. 3 3
      include/assimp/quaternion.h

+ 3 - 3
include/assimp/quaternion.h

@@ -2,7 +2,7 @@
 Open Asset Import Library (assimp)
 Open Asset Import Library (assimp)
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 
 
-Copyright (c) 2006-2022, assimp team
+Copyright (c) 2006-2024, assimp team
 
 
 All rights reserved.
 All rights reserved.
 
 
@@ -45,14 +45,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #ifndef AI_QUATERNION_H_INC
 #ifndef AI_QUATERNION_H_INC
 #define AI_QUATERNION_H_INC
 #define AI_QUATERNION_H_INC
 
 
+#include <assimp/defs.h>
+
 #ifdef __cplusplus
 #ifdef __cplusplus
 
 
 #ifdef __GNUC__
 #ifdef __GNUC__
 #   pragma GCC system_header
 #   pragma GCC system_header
 #endif
 #endif
 
 
-#include <assimp/defs.h>
-
 // Forward declarations
 // Forward declarations
 template <typename TReal> class aiVector3t;
 template <typename TReal> class aiVector3t;
 template <typename TReal> class aiMatrix3x3t;
 template <typename TReal> class aiMatrix3x3t;