pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/43577?usp=email ) Change subject: mgcp_client: include errno.h, not asm-generic ...................................................................... mgcp_client: include errno.h, not asm-generic src/libosmo-mgcp-client/mgcp_client_pool.c includes <asm-generic/errno.h> for ECONNABORTED and EINVAL. That is a Linux kernel UAPI header. It exists on Linux distributions and nowhere else, so the build stops on Darwin: mgcp_client_pool.c:21:10: fatal error: 'asm-generic/errno.h' file not found Both values come from <errno.h> on every platform, and on Linux glibc's <errno.h> reaches the same UAPI definitions, so including the kernel header directly was never needed there either. No functional change on any platform. Change-Id: Ie3fc368c04c29aea824002b3bf9839e410e7f045 Signed-off-by: Andrei Gosman <andrei.gosman@gmail.com> --- M src/libosmo-mgcp-client/mgcp_client_pool.c 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: pespin: Looks good to me, approved; Verified diff --git a/src/libosmo-mgcp-client/mgcp_client_pool.c b/src/libosmo-mgcp-client/mgcp_client_pool.c index 61fb134..42d775e 100644 --- a/src/libosmo-mgcp-client/mgcp_client_pool.c +++ b/src/libosmo-mgcp-client/mgcp_client_pool.c @@ -18,7 +18,7 @@ * */ -#include <asm-generic/errno.h> +#include <errno.h> #include <osmocom/mgcp_client/mgcp_client.h> #include <osmocom/mgcp_client/mgcp_client_internal.h> #include <osmocom/mgcp_client/mgcp_client_pool_internal.h> -- To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/43577?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-mgw Gerrit-Branch: master Gerrit-Change-Id: Ie3fc368c04c29aea824002b3bf9839e410e7f045 Gerrit-Change-Number: 43577 Gerrit-PatchSet: 1 Gerrit-Owner: Andrei G <andrei.gosman@gmail.com> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin <pespin@sysmocom.de>