strongswan/strongswan-multiple-definition.patch
shdluan 96f7e7955f fix multiple definition
Signed-off-by: shdluan <shdluan@163.com>
2021-08-04 09:27:04 +08:00

12 lines
308 B
Diff

--- ./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.