From 3b6d0ae8fe50123d23f07190e8f792a1dd19cc61 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 12 Mar 2015 16:04:41 +0100 Subject: [PATCH] Issue #23644, #22038: Move #include inside the extern "C" { ... } block in pyatomic.h --- Include/pyatomic.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.