hw/timer/hpet: Include "exec/address-spaces.h"
commit858be92357ec195978b7ccb599fa8067f4b91849
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 28 Feb 2020 11:46:42 +0000 (28 12:46 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 9 Mar 2020 14:59:31 +0000 (9 15:59 +0100)
treef7f532bbf99617cd486b1fdfb5006dd4454ebc23
parent38e131d2e2fa6e9b17782d7ce96e7207fa276562
hw/timer/hpet: Include "exec/address-spaces.h"

hw/timer/hpet.c calls address_space_stl_le() declared in
"exec/address-spaces.h". Include it.

This fixes (when modifying unrelated headers):

  hw/timer/hpet.c:210:31: error: use of undeclared identifier 'address_space_memory'
          address_space_stl_le(&address_space_memory, timer->fsb >> 32,
                               ^~~~~~~~~~~~~~~~~~~~

Acked-by: John Snow <jsnow@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200228114649.12818-12-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/timer/hpet.c