diff --git a/Include/pyatomic.h b/Include/pyatomic.h index 80bd825bd75..aa55281a647 100644 --- a/Include/pyatomic.h +++ b/Include/pyatomic.h @@ -6,14 +6,14 @@ #include "pyconfig.h" -#if defined(HAVE_STD_ATOMIC) -#include -#endif - #ifdef __cplusplus extern "C" { #endif +#if defined(HAVE_STD_ATOMIC) +#include +#endif + /* This is modeled after the atomics interface from C1x, according to * the draft at * http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1425.pdf.