Patch to declare a global variable with extern (#1800117)

This commit is contained in:
Mikhail Zabaluev
2020-02-23 00:52:02 +02:00
parent d2e288f585
commit 20b5f4d7fd
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- strongswan-5.8.2/src/swanctl/swanctl.h.orig 2020-02-23 00:35:39.051000000 +0200
+++ strongswan-5.8.2/src/swanctl/swanctl.h 2020-02-23 00:35:51.930355656 +0200
@@ -30,7 +30,7 @@
/**
* Base directory for credentials and config
*/
-char *swanctl_dir;
+extern char *swanctl_dir;
/**
* Configuration file for connections, etc.