strndup() isn't available everywhere…
strndup() isn't available everywhere…

Signed-off-by: dolcetriade <95b0d2cfbf0caacd5ecc456a6b157202405ff9b6@gmail.com>

DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon,DaemonEngine/Daemon