mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Processes (Linux): be compatible with Hurd
This commit is contained in:
@@ -16,7 +16,7 @@ const char* ffDetectProcesses(uint32_t* result)
|
||||
{
|
||||
if (
|
||||
#ifdef _DIRENT_HAVE_D_TYPE
|
||||
entry->d_type == DT_DIR &&
|
||||
(entry->d_type == DT_DIR || entry->d_type == DT_UNKNOWN) &&
|
||||
#endif
|
||||
ffCharIsDigit(entry->d_name[0]))
|
||||
++num;
|
||||
|
||||
Reference in New Issue
Block a user