Skip to content

Changes

Started by upstream project gerrit-libosmocore #2291
Started 1 day 5 hr ago
Queued 1 min 58 sec
Took 1 min 18 sec on build4-deb12build-ansible

Summary

  1. core: guard Linux netlink headers by libmnl usage (details)
Commit 5c7c91e1b1c3d1f0b6a347fe66bf91a4f82bcafd by dtv.comp
core: guard Linux netlink headers by libmnl usage

Only include Linux-specific netlink headers when the libmnl backend
is enabled.

The code paths requiring <linux/if_link.h> and <linux/rtnetlink.h>
are entirely guarded by ENABLE_LIBMNL conditionals, so the headers should
not be included unconditionally.

This avoids pulling in Linux-only headers when the corresponding
backend is not built.

Change-Id: I0b681deb1f1e025e3ea9996f19b1de06a5feb408
The file was modifiedsrc/core/netdev.c