diff -r fbc33813265b -r 2bf1da3c411e src/ucx/utils.h --- a/src/ucx/utils.h Thu Jun 21 16:00:37 2018 +0200 +++ b/src/ucx/utils.h Thu Jun 21 16:10:19 2018 +0200 @@ -38,10 +38,6 @@ #ifndef UCX_UTILS_H #define UCX_UTILS_H -#ifdef __cplusplus -extern "C" { -#endif - #include "ucx.h" #include "string.h" #include "allocator.h" @@ -49,6 +45,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /** * Default buffer size for ucx_stream_copy() and ucx_stream_ncopy(). */