hw/timer/hpet: Include missing 'hw/qdev-properties.h' header
commit2dbf9dd80bd14f7935fd9f722ed3cb87c5b9b0f5
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 15 Feb 2023 16:23:49 +0000 (15 17:23 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:02 +0000 (27 22:29 +0100)
tree530a0f81c994a526cd5b9f619e811b592def3b58
parent2d4bd81e396fb7d5f9af0c55be78a6af2f1fd19c
hw/timer/hpet: Include missing 'hw/qdev-properties.h' header

Avoid when refactoring unrelated headers:

  hw/timer/hpet.c:776:39: error: array has incomplete element type 'Property' (aka 'struct Property')
  static Property hpet_device_properties[] = {
                                        ^
  hw/timer/hpet.c:777:5: error: implicit declaration of function 'DEFINE_PROP_UINT8' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      DEFINE_PROP_UINT8("timers", HPETState, num_timers, HPET_MIN_TIMERS),
      ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230215174353.37097-2-philmd@linaro.org>
hw/timer/hpet.c