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

struct Library *GadToolsBase = NULL;
extern unsigned long _GadToolsBaseVer;

void _INIT_5_GadToolsBase()
{
  if (!(GadToolsBase = OpenLibrary("gadtools.library",_GadToolsBaseVer)))
    exit(20);
}

void _EXIT_5_GadToolsBase()
{
  if (GadToolsBase)
    CloseLibrary(GadToolsBase);
}
