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

struct Library *DOSBase = NULL;
extern unsigned long _DOSBaseVer;

void _INIT_5_DOSBase()
{
  if (!(DOSBase = OpenLibrary("dos.library",_DOSBaseVer)))
    exit(20);
}

void _EXIT_5_DOSBase()
{
  if (DOSBase)
    CloseLibrary(DOSBase);
}
