summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontends/amiga/libs.c2
-rw-r--r--frontends/amiga/rtg.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/frontends/amiga/libs.c b/frontends/amiga/libs.c
index 10c4d8677..76181a71c 100644
--- a/frontends/amiga/libs.c
+++ b/frontends/amiga/libs.c
@@ -172,6 +172,8 @@
#ifdef __amigaos4__
AMINS_LIB_STRUCT(Application);
+#else
+struct Library *UtilityBase = NULL;
#endif
AMINS_LIB_STRUCT(Asl);
AMINS_LIB_STRUCT(DataTypes);
diff --git a/frontends/amiga/rtg.c b/frontends/amiga/rtg.c
index 8618c0a33..9963ed038 100644
--- a/frontends/amiga/rtg.c
+++ b/frontends/amiga/rtg.c
@@ -20,6 +20,8 @@
* Abstract RTG functions for newer/older/non-P96 systems
*/
+#include <proto/graphics.h>
+
#include "amiga/rtg.h"
struct BitMap *ami_rtg_allocbitmap(ULONG width, ULONG height, ULONG depth,