forked from drath/libratbag
hidpp files were using the error function from error.h header file. Unfortunately not every libc comes with this particular header file, so with this patch we won't be requiring to be rely on error function and use fprintf function. Thanks to developer Yaroslav Chvanov <staticssleever668> for the original suggestion Closes: https://github.com/libratbag/libratbag/issues/1253 Signed-off-by: listout <listout@protonmail.com>