Use getcwd() instead of get_current_dir_name().
[tinc] / src / bsd / tunemu.h
2009-09-10 Guus SliepenAdd support for iPhones and recent iPods.