From 0d0c5f667076df359fece7e13c4202ae105f6c7f Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 21 May 2013 16:05:36 +0000 Subject: [PATCH] Remove more headers --- dhcp.c | 1 + if-options.c | 2 ++ ipv6.c | 1 + ipv6.h | 5 ++++- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dhcp.c b/dhcp.c index 67bb7663..e863f375 100644 --- a/dhcp.c +++ b/dhcp.c @@ -25,6 +25,7 @@ * SUCH DAMAGE. */ +#include #include #include diff --git a/if-options.c b/if-options.c index 8d83cbd3..43225780 100644 --- a/if-options.c +++ b/if-options.c @@ -25,6 +25,7 @@ * SUCH DAMAGE. */ +#include #include #include @@ -32,6 +33,7 @@ #include #include #include +#include #include #include #include diff --git a/ipv6.c b/ipv6.c index cae5c96f..c633cffe 100644 --- a/ipv6.c +++ b/ipv6.c @@ -25,6 +25,7 @@ * SUCH DAMAGE. */ +#include #include #include diff --git a/ipv6.h b/ipv6.h index 96f968b5..ab1ccb6d 100644 --- a/ipv6.h +++ b/ipv6.h @@ -28,7 +28,6 @@ #ifndef IPV6_H #define IPV6_H -#include #include #include @@ -49,6 +48,10 @@ * See the discussion here: * http://mail-index.netbsd.org/tech-net/2013/03/15/msg004019.html */ +#ifndef __linux__ +/* We guard here to avoid breaking a compile on linux ppc-64 headers */ +# include +#endif #ifdef BSD # define LISTEN_DAD #endif -- 2.47.3