diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2022-05-03 10:20:05 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2022-05-03 10:38:34 +0200 |
commit | 6710d2a53f71f3e87263faa92e169effea037fb2 (patch) | |
tree | 347a1807d52f489991e0dc673421bdf7df58688b | |
parent | 28d3d654b14348e51490fa8febd995907f38cd70 (diff) | |
download | NetworkManager-6710d2a53f71f3e87263faa92e169effea037fb2.tar.gz |
daemon: fix build
/usr/bin/ld: src/core/.libs/libNetworkManager.a(libNetworkManager_la-nm-dnsmasq-utils.o): in function `nm_dnsmasq_utils_get_range':
src/core/dnsmasq/nm-dnsmasq-utils.c:53: undefined reference to `_nm_utils_ip4_prefix_to_netmask'
/usr/bin/ld: src/core/.libs/libNetworkManager.a(libNetworkManager_la-nm-vpn-connection.o): in function `_dbus_signal_ip_config_cb':
src/core/vpn/nm-vpn-connection.c:2109: undefined reference to `nm_utils_ip4_address_clear_host_address'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:10920: src/core/NetworkManager-all-sym] Error 1
-rw-r--r-- | src/core/dnsmasq/nm-dnsmasq-utils.c | 1 | ||||
-rw-r--r-- | src/core/vpn/nm-vpn-connection.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/dnsmasq/nm-dnsmasq-utils.c b/src/core/dnsmasq/nm-dnsmasq-utils.c index 7f79987830..290534bfad 100644 --- a/src/core/dnsmasq/nm-dnsmasq-utils.c +++ b/src/core/dnsmasq/nm-dnsmasq-utils.c @@ -10,6 +10,7 @@ #include <arpa/inet.h> #include "libnm-platform/nm-platform.h" +#include "libnm-glib-aux/nm-shared-utils.h" #include "nm-utils.h" gboolean diff --git a/src/core/vpn/nm-vpn-connection.c b/src/core/vpn/nm-vpn-connection.c index bbb7355016..53fbe2de60 100644 --- a/src/core/vpn/nm-vpn-connection.c +++ b/src/core/vpn/nm-vpn-connection.c @@ -21,6 +21,7 @@ #include "dns/nm-dns-manager.h" #include "libnm-core-intern/nm-core-internal.h" #include "libnm-glib-aux/nm-dbus-aux.h" +#include "libnm-glib-aux/nm-shared-utils.h" #include "libnm-platform/nm-platform.h" #include "libnm-std-aux/unaligned.h" #include "nm-active-connection.h" |