summaryrefslogtreecommitdiffstats
path: root/src/gsm/auth_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsm/auth_core.c')
-rw-r--r--src/gsm/auth_core.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gsm/auth_core.c b/src/gsm/auth_core.c
index 9e3b2c01..400708f9 100644
--- a/src/gsm/auth_core.c
+++ b/src/gsm/auth_core.c
@@ -20,6 +20,8 @@
*
*/
+#include "config.h"
+
#include <errno.h>
#include <stdint.h>
#include <string.h>
@@ -71,7 +73,11 @@ int osmo_auth_register(struct osmo_auth_impl *impl)
int osmo_auth_load(const char *path)
{
/* load all plugins available from path */
+#if !defined(EMBEDDED)
return osmo_plugin_load_all(path);
+#else
+ return -1;
+#endif
}
/*! Determine if a given authentication algorithm is supported