#include <exec/libraries.h>
#include <proto/exec.h>

struct Library *LoaderModuleBase = NULL;
extern unsigned long _LoaderModuleBaseVer;

void _INIT_5_LoaderModuleBase()
{
  if (!(LoaderModuleBase = OpenLibrary("loadermodule.library",_LoaderModuleBaseVer)))
    exit(20);
}

void _EXIT_5_LoaderModuleBase()
{
  if (LoaderModuleBase)
    CloseLibrary(LoaderModuleBase);
}
