mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-03-29 11:21:08 -04:00
Don't use glibc specific function.
This commit is contained in:
@@ -133,7 +133,7 @@ bool i2c_smbus_linux_detect()
|
||||
strcat(path, ent->d_name);
|
||||
if(ent->d_type == DT_LNK)
|
||||
{
|
||||
ptr = canonicalize_file_name(path);
|
||||
ptr = realpath(path, NULL);
|
||||
if(ptr == NULL)
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user