about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-11-01 08:43:33 -0400
committerUlrich Drepper <drepper@gmail.com>2011-11-01 08:43:33 -0400
commit432d41ceecf5df8cfbc5a1db0cee9190f07ec1ca (patch)
treed188bad10aed4dce9d2d0ca2cee7289781c7ad20
parent02f9c6cfe286ebd1f39106ae77245c5514ec6919 (diff)
downloadglibc-432d41ceecf5df8cfbc5a1db0cee9190f07ec1ca.tar.gz
glibc-432d41ceecf5df8cfbc5a1db0cee9190f07ec1ca.tar.xz
glibc-432d41ceecf5df8cfbc5a1db0cee9190f07ec1ca.zip
Use kernel headers for netlink definitions
-rw-r--r--ChangeLog4
-rw-r--r--nscd/connections.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6e247ec445..2a096f1d4c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-01  Ulrich Drepper  <drepper@gmail.com>
+
+	* nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
+
 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
 	* elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
diff --git a/nscd/connections.c b/nscd/connections.c
index 1b8a9bdba7..c74199616a 100644
--- a/nscd/connections.c
+++ b/nscd/connections.c
@@ -34,7 +34,8 @@
 #include <unistd.h>
 #include <arpa/inet.h>
 #ifdef HAVE_NETLINK
-# include <netlink/netlink.h>
+# include <linux/netlink.h>
+# include <linux/rtnetlink.h>
 #endif
 #ifdef HAVE_EPOLL
 # include <sys/epoll.h>