mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-10 03:01:44 +01:00
60 lines
1.1 KiB
Diff
60 lines
1.1 KiB
Diff
diff --git a/dhcp6.c b/dhcp6.c
|
|
index 9c1fbec..5a8b94a 100644
|
|
--- a/dhcp6.c
|
|
+++ b/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>
|
|
diff --git a/dhcpcd.c b/dhcpcd.c
|
|
index 64758e5..652313e 100644
|
|
--- a/dhcpcd.c
|
|
+++ b/dhcpcd.c
|
|
@@ -48,6 +48,7 @@ const char dhcpcd_copyright[] = "Copyright (c) 2006-2014 Roy Marples";
|
|
#include <syslog.h>
|
|
#include <unistd.h>
|
|
#include <time.h>
|
|
+#include <fcntl.h>
|
|
|
|
#include "config.h"
|
|
#include "arp.h"
|
|
diff --git a/ipv6.h b/ipv6.h
|
|
index 4a89d85..a04fa5a 100644
|
|
--- a/ipv6.h
|
|
+++ b/ipv6.h
|
|
@@ -33,11 +33,6 @@
|
|
|
|
#include <netinet/in.h>
|
|
|
|
-#ifdef __linux__
|
|
-# define _LINUX_IN6_H
|
|
-# include <linux/ipv6.h>
|
|
-#endif
|
|
-
|
|
#include "dhcpcd.h"
|
|
|
|
#define ALLROUTERS "ff02::2"
|
|
diff --git a/ipv6nd.c b/ipv6nd.c
|
|
index a755fe8..b747fbd 100644
|
|
--- a/ipv6nd.c
|
|
+++ b/ipv6nd.c
|
|
@@ -33,11 +33,6 @@
|
|
#include <netinet/ip6.h>
|
|
#include <netinet/icmp6.h>
|
|
|
|
-#ifdef __linux__
|
|
-# define _LINUX_IN6_H
|
|
-# include <linux/ipv6.h>
|
|
-#endif
|
|
-
|
|
#include <errno.h>
|
|
#include <fcntl.h>
|
|
#include <stddef.h>
|