Use getcwd() instead of get_current_dir_name().
[tinc] / src / system.h
2017-10-03 nemunaireAllow compilation from a build directory
2013-09-29 Guus SliepenModernize the build system.