diff --git a/src/core/hooks/web_load.cc b/src/core/hooks/web_load.cc index 1240d545..7aaa87c8 100644 --- a/src/core/hooks/web_load.cc +++ b/src/core/hooks/web_load.cc @@ -7,6 +7,8 @@ #include // #include +unsigned long long g_hookedModuleId; + WebkitHandler WebkitHandler::get() { static WebkitHandler webkitHandler; diff --git a/src/core/hooks/web_load.h b/src/core/hooks/web_load.h index cd1e49ca..b9f69024 100644 --- a/src/core/hooks/web_load.h +++ b/src/core/hooks/web_load.h @@ -5,7 +5,7 @@ #include #include -static unsigned long long g_hookedModuleId; +extern unsigned long long g_hookedModuleId; class WebkitHandler {