Daemon
Daemon copied to clipboard
Small fixes
This PR backports small fixes from me and freem. The "fix missing headers" commit is especially useful as I needed it to be able to compile Daemon.