mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-04 04:04:17 +01:00
Global: support DragonFly BSD
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
#include "diskio.h"
|
||||
|
||||
#if __has_include(<libgeom.h>)
|
||||
|
||||
#include "util/stringUtils.h"
|
||||
|
||||
#include <devstat.h>
|
||||
@@ -58,3 +61,9 @@ const char* ffDiskIOGetIoCounters(FFlist* result, FFDiskIOOptions* options)
|
||||
|
||||
return NULL;
|
||||
}
|
||||
#else
|
||||
const char* ffDiskIOGetIoCounters(FFlist* result, FFDiskIOOptions* options)
|
||||
{
|
||||
return "Fastfetch was compiled without libgeom support";
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user