about summary refs log tree commit diff
diff options
context:
space:
mode:
-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>