From bc03da48b5786e6237efa4dff674d3b853966943 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sat, 22 Dec 2018 10:06:47 +0100 Subject: [PATCH] - introduce record.h compatibility header file Signed-off-by: Thilo Graf --- lib/hardware/record.h | 8 ++++++++ src/driver/record.h | 7 +------ 2 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 lib/hardware/record.h 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 7466514d4..3ebd856e5 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