Use getcwd() instead of get_current_dir_name().
[tinc] / src / xmalloc.c
index a1b1fe8..1f354dd 100644 (file)
@@ -16,7 +16,7 @@
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.  */
 
 #if HAVE_CONFIG_H
-# include "../config.h"
+# include "config.h"
 #endif
 
 #include <sys/types.h>