commit | 20725b9eea15720a5dbad19aac6236b86a3e34c6 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Mon May 15 12:50:04 2017 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Mon May 15 13:42:03 2017 +0200 |
tree | ed76d626ab497385c903e5a7c2af1cb993b5319d | |
parent | bfe62e5781e3ee895a44ca9ccc155ff87c42bf43 [diff] |
gsm0808 + ipa: fix compilation on systems without sys/socket.h Change-Id: I60f5d4982cd96ab29f9924ec11b46bf56fbfc346
diff --git a/include/osmocom/gsm/gsm0808.h b/include/osmocom/gsm/gsm0808.h index a9f610a..9be229c 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 e6e55a7..c11bf8d 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>