From ec3d0c802d6e1d209c394781e390c3bfafb70abe Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 22 Dec 2018 10:06:47 +0100 Subject: [PATCH] introduce record.h compatibility header file Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/53612d72254da3870083b96b8df13cd200a6f176 Author: vanhofen Date: 2018-12-22 (Sat, 22 Dec 2018) Origin message was: ------------------ - introduce record.h compatibility header file --- 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 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