summaryrefslogtreecommitdiffstats
path: root/src/gsm/gprs_cipher_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsm/gprs_cipher_core.c')
-rw-r--r--src/gsm/gprs_cipher_core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gsm/gprs_cipher_core.c b/src/gsm/gprs_cipher_core.c
index 6fa25d60..7f2b1a50 100644
--- a/src/gsm/gprs_cipher_core.c
+++ b/src/gsm/gprs_cipher_core.c
@@ -23,6 +23,8 @@
*
*/
+#include "config.h"
+
#include <errno.h>
#include <stdint.h>
@@ -68,9 +70,11 @@ int gprs_cipher_register(struct gprs_cipher_impl *ciph)
/* load all available GPRS cipher plugins */
int gprs_cipher_load(const char *path)
{
+#if !defined(EMBEDDED)
/* load all plugins available from path */
if (path)
return osmo_plugin_load_all(path);
+#endif
return 0;
}