summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-05-15 12:50:04 +0200
committerHarald Welte <laforge@gnumonks.org>2017-05-15 13:42:03 +0200
commit20725b9eea15720a5dbad19aac6236b86a3e34c6 (patch)
treeed76d626ab497385c903e5a7c2af1cb993b5319d /include/osmocom/gsm
parentbfe62e5781e3ee895a44ca9ccc155ff87c42bf43 (diff)
gsm0808 + ipa: fix compilation on systems without sys/socket.h
Change-Id: I60f5d4982cd96ab29f9924ec11b46bf56fbfc346
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r--include/osmocom/gsm/gsm0808.h2
-rw-r--r--include/osmocom/gsm/gsm0808_utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/gsm/gsm0808.h b/include/osmocom/gsm/gsm0808.h
index a9f610a8..9be229c6 100644
--- a/include/osmocom/gsm/gsm0808.h
+++ b/include/osmocom/gsm/gsm0808.h
@@ -21,7 +21,7 @@
#include "tlv.h"
#include <osmocom/gsm/protocol/gsm_08_08.h>
-#include <sys/socket.h>
+struct sockaddr_storage;
struct msgb;
diff --git a/include/osmocom/gsm/gsm0808_utils.h b/include/osmocom/gsm/gsm0808_utils.h
index e6e55a7e..c11bf8d3 100644
--- a/include/osmocom/gsm/gsm0808_utils.h
+++ b/include/osmocom/gsm/gsm0808_utils.h
@@ -19,7 +19,7 @@
*/
#pragma once
-#include <sys/socket.h>
+struct sockaddr_storage;
#include <osmocom/gsm/protocol/gsm_08_08.h>