Skip to content

Changes

Started by upstream project gerrit-libosmocore #2293
Started 1 day 12 hr ago
Queued 7.1 sec
Took 5 min 58 sec on built-in

Summary

  1. core: guard Linux netlink headers by libmnl usage (details)
Commit 4df95a5924e2ee2dafb218a05a11022048ff3d72 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