diff --git a/bolt/runtime/common.h b/bolt/runtime/common.h --- a/bolt/runtime/common.h +++ b/bolt/runtime/common.h @@ -11,6 +11,12 @@ #include #include +#include "config.h" + +#ifdef HAVE_ELF_H +#include +#endif + #else typedef __SIZE_TYPE__ size_t; @@ -32,12 +38,6 @@ #endif -#include "config.h" - -#ifdef HAVE_ELF_H -#include -#endif - // Save all registers while keeping 16B stack alignment #define SAVE_ALL \ "push %%rax\n" \