Fix building on OpenBSD - #395
Conversation
OpenBSD does not have close_range() nor does NetBSD. OpenBSD needs environ like the other *BSD's. The build was erroring on kp_pid, it looks like p_pid is appropriate.
|
Hey, in case you were wanting to add other features to OpenBSD which are missing such as https://github.com/time-killer-games/xproc/blob/main/process.cpp Look for the function Be sure to change the license from MIT to what boost process v2 has, I give you permission as the copyright holder of the relevent code. Process Hacker developers and devKathy are only responsible for small portions of code specific to the Windows platform, the rest I am the copyright holder for, which means I wrote all OpenBSD-related code, (and *BSD-related code as a whole). Make sure if you use enough of my code to be considered substantial that I am mentioned in the copyright of the related files (refer to me as "Samuel Venable"). I don't really have the time to add these features myself right now, but there is no obligation for you to do so either. |
|
Does this actually build now? If not, let me know once you solve all build errors. @klemens-morgenstern would like me to test this pull request once you are done. |
OpenBSD does not have close_range() nor does NetBSD.
OpenBSD needs environ like the other *BSD's.
The build was erroring on kp_pid, it looks like p_pid is appropriate.
Fixes: #391