From 851fcd0c2fb6662e4ebfaa667bd1f604b9e9cfc0 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 29 May 2012 20:01:04 +0000 Subject: [PATCH] Make sure that LUFAConfig.h is included *after* the common submodules, so that the architecture and other defines are available to the configuration header. --- LUFA/Common/Common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LUFA/Common/Common.h b/LUFA/Common/Common.h index 871998dc4f..54d7386820 100644 --- a/LUFA/Common/Common.h +++ b/LUFA/Common/Common.h @@ -68,16 +68,16 @@ #include #include - #if defined(USE_LUFA_CONFIG_HEADER) - #include "LUFAConfig.h" - #endif - #include "Architectures.h" #include "BoardTypes.h" #include "ArchitectureSpecific.h" #include "CompilerSpecific.h" #include "Attributes.h" + #if defined(USE_LUFA_CONFIG_HEADER) + #include "LUFAConfig.h" + #endif + /* Enable C linkage for C++ Compilers: */ #if defined(__cplusplus) extern "C" {