--- BasiliskII/src/AmigaOS/prefs_editor_amiga.cpp 2002/01/15 14:58:34 1.17 +++ BasiliskII/src/AmigaOS/prefs_editor_amiga.cpp 2002/06/23 08:27:05 1.18 @@ -1,7 +1,7 @@ /* * prefs_editor_amiga.cpp - Preferences editor, AmigaOS implementation (using gtlayout.library) * - * Basilisk II (C) 1997-2002 Christian Bauer + * Basilisk II (C) 1997-2001 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ #include #include #include +#define __USE_SYSBASE #include #include #include @@ -40,6 +41,18 @@ #include #include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include "sysdeps.h" #include "main.h" @@ -177,7 +190,7 @@ bool PrefsEditor(void) }; // Open gtlayout.library - GTLayoutBase = (struct Library *)OpenLibrary((UBYTE *)"gtlayout.library", 39); + GTLayoutBase = (struct Library *)OpenLibrary("gtlayout.library", 39); if (GTLayoutBase == NULL) { WarningAlert(GetString(STR_NO_GTLAYOUT_LIB_WARN)); return true;