diff --git a/src/core/backend-loader.cpp b/src/core/backend-loader.cpp
index 7620c87..0efa041 100644
--- a/src/core/backend-loader.cpp
+++ b/src/core/backend-loader.cpp
@@ -46,7 +46,7 @@ private:
 
 typedef HMODULE soci_dynlib_handle_t;
 
-extern "C" IMAGE_DOS_HEADER __ImageBase;
+extern "C" { IMAGE_DOS_HEADER __ImageBase; }
 
 std::string get_this_dynlib_path()
 {
