mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 05:04:17 +01:00
Global: support DragonFly BSD
This commit is contained in:
@@ -257,6 +257,10 @@ static const char* getFromProcesses(FFDisplayServerResult* result)
|
||||
uint32_t userId = getuid();
|
||||
|
||||
#if __FreeBSD__
|
||||
#ifdef __DragonFly__
|
||||
#define ki_comm kp_comm
|
||||
#endif
|
||||
|
||||
int request[] = {CTL_KERN, KERN_PROC, KERN_PROC_UID, (int) userId};
|
||||
size_t length = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user