summaryrefslogtreecommitdiffstats
path: root/src/gsm
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsm')
-rw-r--r--src/gsm/abis_nm.c2
-rw-r--r--src/gsm/ipa.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gsm/abis_nm.c b/src/gsm/abis_nm.c
index 10aae9a7..155084ac 100644
--- a/src/gsm/abis_nm.c
+++ b/src/gsm/abis_nm.c
@@ -571,7 +571,7 @@ struct msgb *abis_nm_fail_evt_vrep(enum abis_nm_event_type t,
return NULL;
}
if (len)
- msgb_tl16v_put(nmsg, NM_ATT_ADD_TEXT, len, add_text);
+ msgb_tl16v_put(nmsg, NM_ATT_ADD_TEXT, len, (const uint8_t *) add_text);
return nmsg;
}
diff --git a/src/gsm/ipa.c b/src/gsm/ipa.c
index 6dc3ab60..f44c3284 100644
--- a/src/gsm/ipa.c
+++ b/src/gsm/ipa.c
@@ -28,6 +28,7 @@
#include <arpa/inet.h>
#include <sys/types.h>
+#include <sys/socket.h>
#include <osmocom/core/msgb.h>
#include <osmocom/core/talloc.h>