aboutsummaryrefslogtreecommitdiff
path: root/nscd/connections.c
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 /nscd/connections.c
parent02f9c6cfe286ebd1f39106ae77245c5514ec6919 (diff)
downloadglibc-432d41ceecf5df8cfbc5a1db0cee9190f07ec1ca.tar
glibc-432d41ceecf5df8cfbc5a1db0cee9190f07ec1ca.tar.gz
glibc-432d41ceecf5df8cfbc5a1db0cee9190f07ec1ca.tar.bz2
glibc-432d41ceecf5df8cfbc5a1db0cee9190f07ec1ca.zip
Use kernel headers for netlink definitions
Diffstat (limited to 'nscd/connections.c')
-rw-r--r--nscd/connections.c3
1 files changed, 2 insertions, 1 deletions
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>