Attention is currently required from: fixeria, laforge, neels, pespin. Timur Davydov has posted comments on this change by Timur Davydov. ( https://gerrit.osmocom.org/c/libosmocore/+/41813?usp=email ) Change subject: Add Emscripten build support and JS callback logging backend ...................................................................... Patch Set 22: (2 comments) File src/core/netdev.c: https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/bd6cdc38_1ff8e0e1?u... : PS5, Line 67: #if (!EMBEDDED) && !defined(__EMSCRIPTEN__)
I'm delaying review of this patch until the previous one regarding netdev is solved, because anyway […] I've moved the netdev changes into a separate patch and will address that first.
I dropped the Emscripten-specific include logic and instead guard the Linux netlink headers by the libmnl backend, because the only code that needs <linux/if_link.h>/<linux/rtnetlink.h> is under the libmnl-enabled blocks. So when libmnl is disabled, we no longer try to include Linux-only headers on non-Linux targets. When libmnl is enabled, requiring those Linux headers is expected. https://gerrit.osmocom.org/c/libosmocore/+/41813/comment/27e9de57_c1f1ed3f?u... : PS5, Line 67: #if (!EMBEDDED) && !defined(__EMSCRIPTEN__)
I'm delaying review of this patch until the previous one regarding netdev is solved, because anyway […] I've moved the netdev changes into a separate patch and will address that first.
I dropped the Emscripten-specific include logic and instead guard the Linux netlink headers by the libmnl backend, because the only code that needs <linux/if_link.h>/<linux/rtnetlink.h> is under the libmnl-enabled blocks. So when libmnl is disabled, we no longer try to include Linux-only headers on non-Linux targets. When libmnl is enabled, requiring those Linux headers is expected. -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/41813?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Ia8d5f4bb6570b5e055826f3a051e5e5896866e31 Gerrit-Change-Number: 41813 Gerrit-PatchSet: 22 Gerrit-Owner: Timur Davydov <dtv.comp@gmail.com> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de> Gerrit-CC: laforge <laforge@osmocom.org> Gerrit-Attention: neels <nhofmeyr@sysmocom.de> Gerrit-Attention: laforge <laforge@osmocom.org> Gerrit-Attention: pespin <pespin@sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy@sysmocom.de> Gerrit-Comment-Date: Mon, 26 Jan 2026 10:09:39 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: pespin <pespin@sysmocom.de> Comment-In-Reply-To: Timur Davydov <dtv.comp@gmail.com>