Mercurial > libanimone
diff include/animone/fd/win32.h @ 3:aa55bcfb5b79
win32: make builds work again
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Thu, 11 Apr 2024 23:39:18 -0400 |
parents | a76fa32bdc92 |
children | 27b988a1048c |
line wrap: on
line diff
--- a/include/animone/fd/win32.h Thu Apr 11 22:05:41 2024 -0400 +++ b/include/animone/fd/win32.h Thu Apr 11 23:39:18 2024 -0400 @@ -4,13 +4,12 @@ #include <set> #include <string> -#include <windows.h> - #include "animone/fd.h" #include "animone/types.h" namespace animone::internal::win32 { +bool GetProcessName(pid_t pid, std::string& name); bool EnumerateOpenProcesses(process_proc_t process_proc); bool EnumerateOpenFiles(const std::set<pid_t>& pids, open_file_proc_t open_file_proc);