https://bugs.gentoo.org/show_bug.cgi?id=225393

--- libnl-1.1/include/netlink-local.h	2008-06-09 07:54:20 +0000
+++ libnl-1.1/include/netlink-local.h	2008-06-09 07:54:47 +0000
@@ -26,6 +26,7 @@
 #include <sys/socket.h>
 #include <inttypes.h>
 #include <assert.h>
+#include <limits.h>
 
 #include <arpa/inet.h>
 #include <netdb.h>

