Skip to content

Changes

Started by upstream project gerrit-libosmocore #2295
Started 1 day 12 hr ago
Queued 6.2 sec
Took 4 min 46 sec on built-in

Summary

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