Check for get_current_dir_name. There is a replacement function in
[tinc] / lib / getopt1.c
2000-05-03 Ivo Timmermansgetopt_long() support for platforms that don't have it.