From e8216f6e65d34efc4ce9df22618d084cc22863ee Mon Sep 17 00:00:00 2001 From: Eric Branlund Date: Sun, 4 Oct 2020 17:52:31 -0700 Subject: [PATCH] Included monster-attack-effect.h and monster-attack-types.h to avoid compiler errors with clang for incomplete type definitions (the enums referenced in monster_blow). --- src/system/monster-race-definition.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/monster-race-definition.h b/src/system/monster-race-definition.h index 572492492..dc33081fc 100644 --- a/src/system/monster-race-definition.h +++ b/src/system/monster-race-definition.h @@ -1,5 +1,7 @@ #pragma once +#include "monster-attack/monster-attack-effect.h" +#include "monster-attack/monster-attack-types.h" #include "system/angband.h" /* @@ -10,8 +12,6 @@ * - Damage Dice * - Damage Sides */ -typedef enum rbm_type rbm_type; -typedef enum rbe_type rbe_type; typedef struct monster_blow { rbm_type method; rbe_type effect; -- 2.24.3 (Apple Git-128)