1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

IPv6 compiles with glibc 2.1.

This commit is contained in:
Martin Mares
2000-04-20 23:05:41 +00:00
parent f33c6c6602
commit f380aa60fa
2 changed files with 9 additions and 3 deletions

View File

@@ -1,14 +1,16 @@
/*
* BIRD Internet Routing Daemon -- Linux Multicasting and Network Includes
*
* (c) 1998--1999 Martin Mares <mj@ucw.cz>
* (c) 1998--2000 Martin Mares <mj@ucw.cz>
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
#ifdef IPV6
#include <linux/in6.h> /* FIXMEv6: glibc variant? */
#ifdef CONFIG_IPV6_GLIBC_20
#include <linux/in6.h>
#endif
static inline void
set_inaddr(struct in6_addr *ia, ip_addr a)