summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2022-03-15 14:23:55 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2022-03-15 14:23:55 +0000
commit164f3c1c8f1121674b3e7f068f774e156eaa6f20 (patch)
tree9890c8711c0fa51b2e2e9454c74024cf8248b6fa
parent7b638b07136190f2feed583e313a74b9f21ea2bf (diff)
downloadnetsurf-164f3c1c8f1121674b3e7f068f774e156eaa6f20.tar.gz
netsurf-164f3c1c8f1121674b3e7f068f774e156eaa6f20.tar.bz2
Amiga: Fix missing Utility/GraphicsBase
-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,