1diff --git a/lib/route/link/vrf.c b/lib/route/link/vrf.c 2index 8b6b451..31d62f8 100644 3--- a/lib/route/link/vrf.c 4+++ b/lib/route/link/vrf.c 5@@ -33,7 +33,6 @@ 6 #include <netlink/route/link/vrf.h> 7 8 #include <linux/if_link.h> 9-#include <linux-private/linux/rtnetlink.h> 10 11 #define VRF_TABLE_ID_MAX RT_TABLE_MAX 12 13diff --git a/lib/utils.c b/lib/utils.c 14index 496bf3b..a1dc815 100644 15--- a/lib/utils.c 16+++ b/lib/utils.c 17@@ -226,8 +226,8 @@ double nl_cancel_down_bits(unsigned long long l, char **unit) 18 19 int nl_rate2str(unsigned long long rate, int type, char *buf, size_t len) 20 { 21- char *unit; 22- double frac; 23+ char *unit = NULL; 24+ double frac = 0.0; 25 26 switch (type) { 27 case NL_BYTE_RATE: 28@@ -374,6 +374,7 @@ char *nl_size2str(const size_t size, char *buf, const size_t len) 29 } 30 31 BUG(); 32+ return buf; 33 } 34 35 /** 36diff --git a/src/lib/utils.c b/src/lib/utils.c 37index 3aa2a90..99e9fe5 100644 38--- a/src/lib/utils.c 39+++ b/src/lib/utils.c 40@@ -31,6 +31,8 @@ 41 #include <dlfcn.h> 42 #endif 43 44+#define PKGLIBDIR "/usr/local/lib" 45+ 46 /** 47 * Parse a text based 32 bit unsigned integer argument 48 * @arg arg Integer in text form. 49