--- ./src/swanctl/swanctl.h.xiugai 2021-08-03 19:08:13.634660548 +0800 +++ ./src/swanctl/swanctl.h 2021-08-03 19:08:30.770825041 +0800 @@ -30,7 +30,7 @@ /** * Base directory for credentials and config */ -char *swanctl_dir; +extern char *swanctl_dir; /** * Configuration file for connections, etc.