summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--loader/elfdll.c5
-rw-r--r--loader/loader.h4
2 files changed, 5 insertions, 4 deletions
diff --git a/loader/elfdll.c b/loader/elfdll.c
index 057fa5b9c8..650596ebd1 100644
--- a/loader/elfdll.c
+++ b/loader/elfdll.c
@@ -18,6 +18,7 @@
#include "wine/debugtools.h"
#include "wine/winerror.h"
#include "debug.h"
+#include "loader.h"
#include "path.h"
//DEFAULT_DEBUG_CHANNEL(elfdll)
@@ -29,10 +30,6 @@
#include <dlfcn.h>
-//WINE_MODREF *local_wm=NULL;
-extern modref_list* local_wm;
-
-
/*------------------ HACKS -----------------*/
DWORD fixup_imports(WINE_MODREF *wm);
void dump_exports(HMODULE hModule);
diff --git a/loader/loader.h b/loader/loader.h
index 48778e1882..fa432e0294 100644
--- a/loader/loader.h
+++ b/loader/loader.h
@@ -19,6 +19,10 @@
#include "wine/mmreg.h"
#include "wine/vfw.h"
#include "wine/msacm.h"
+#include "wine/module.h"
+
+
+extern modref_list* local_wm;
unsigned int GetPrivateProfileIntA_(const char* appname, const char* keyname, int default_value, const char* filename);
int GetPrivateProfileStringA_(const char* appname, const char* keyname,