Processes (Linux): be compatible with Hurd

This commit is contained in:
李通洲
2025-08-22 14:08:18 +08:00
parent 5775409cb9
commit 5012bc250b
+1 -1
View File
@@ -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;