diff --git a/lib/hardware/record.h b/lib/hardware/record.h new file mode 100644 index 000000000..3ebe5fac4 --- /dev/null +++ b/lib/hardware/record.h @@ -0,0 +1,8 @@ +#if HAVE_COOL_HARDWARE +#include +#elif USE_STB_HAL +#include +#else +#error neither HAVE_COOL_HARDWARE nor USE_STB_HAL defined. +#error do you need to include config.h? +#endif diff --git a/src/driver/record.h b/src/driver/record.h index e43a2b89e..ee225911a 100644 --- a/src/driver/record.h +++ b/src/driver/record.h @@ -32,12 +32,7 @@ #include #include -#if HAVE_COOL_HARDWARE -#include -#endif -#if USE_STB_HAL -#include -#endif +#include #include #include