diff options
author | hwspeedy <ns@bigbear.dk> | 2024-02-16 01:17:31 +0100 |
---|---|---|
committer | hwspeedy <ns@bigbear.dk> | 2024-02-16 01:17:31 +0100 |
commit | abff8be13bebf2e33ad2e7fe8d97c8b59b48ef6f (patch) | |
tree | bcf3612b4ad79735a2e4016dafdbd0128ff58cbf /modules/devices.c | |
parent | c362d03622401c6ea39bae828b7e24cb1f75a6bf (diff) |
FIX Disable cpuflags for very old JSON <0.20.0 - FIX for ol6/c6/rh6
Diffstat (limited to 'modules/devices.c')
-rw-r--r-- | modules/devices.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/devices.c b/modules/devices.c index 574896ee..614c43f5 100644 --- a/modules/devices.c +++ b/modules/devices.c @@ -37,6 +37,7 @@ #include "udisks2_util.h" #include "storage_util.h" #include "pci_util.h" +#include <json-glib/json-glib.h> gchar *callback_processors(); gchar *callback_gpu(); @@ -857,11 +858,13 @@ void hi_module_init(void) .file_name = "sdcard.ids", }, #ifdef ARCH_x86 +#if JSON_CHECK_VERSION(0,20,0) { .name = N_("Update CPU flags database"), .file_name = "cpuflags.json", }, #endif +#endif }; guint i; |