diff --git a/src/wayland-util.h b/src/wayland-util.h index 35b50ea..cc1999d 100644 --- a/src/wayland-util.h +++ b/src/wayland-util.h @@ -31,15 +31,15 @@ #ifndef WAYLAND_UTIL_H #define WAYLAND_UTIL_H -#ifdef __cplusplus -extern "C" { -#endif - #include #include #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* GCC visibility */ #if defined(__GNUC__) && __GNUC__ >= 4 #define WL_EXPORT __attribute__ ((visibility("default")))