naemon / naemon-core

Networks, Applications and Event Monitor
http://www.naemon.io/
GNU General Public License v2.0
151 stars 63 forks source link

Include <sys/wait.h> for wait constants #442

Closed dereckson closed 7 months ago

dereckson commented 7 months ago

Constants like WIFEXITED are defined in sys/wait.h header.

This fixes a compilation issue on FreeBSD where those contants aren't implicitly made available without an explicit include of those.

sni commented 7 months ago

looks good, thanks