diff options
-rw-r--r-- | src/charon-svc/charon-svc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/charon-svc/charon-svc.c b/src/charon-svc/charon-svc.c index 522cd127e..823b366c0 100644 --- a/src/charon-svc/charon-svc.c +++ b/src/charon-svc/charon-svc.c @@ -189,6 +189,15 @@ static int service_wait() } /** + * Add namespace alias + */ +static void __attribute__ ((constructor))register_namespace() +{ + /* inherit settings from charon */ + library_add_namespace("charon"); +} + +/** * Initialize and run charon using a wait function */ static void init_and_run(DWORD dwArgc, LPTSTR *lpszArgv, int (*wait)()) |