Fixed: warning: implicit declaration of function ‘strdup’ (daemon)