mirror of
https://github.com/rsmarples/dhcpcd.git
synced 2024-11-23 18:14:09 +08:00
Remove linux/ipv6.h from everywhere except ipv6.h.
Only bring in linux/ipv6.h if linux AND glibc.
This commit is contained in:
parent
2c0634978b
commit
af68f3b8a4
4
dhcp6.c
4
dhcp6.c
@ -31,10 +31,6 @@
|
||||
#include <sys/utsname.h>
|
||||
|
||||
#include <netinet/in.h>
|
||||
#ifdef __linux__
|
||||
# define _LINUX_IN6_H
|
||||
# include <linux/ipv6.h>
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
|
2
ipv6.h
2
ipv6.h
@ -33,7 +33,7 @@
|
||||
|
||||
#include <netinet/in.h>
|
||||
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) && defined(__GLIBC__)
|
||||
# define _LINUX_IN6_H
|
||||
# include <linux/ipv6.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user