summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2013-10-17 16:27:49 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2013-10-17 16:27:49 +0000
commit4c21639c51c629b427368502715b24ec7c8f5f9c (patch)
tree667b086eadf697720eec510843e77cc3ae1385c4 /usr.sbin/ppp
parentfb38f42fffc5b98edc293952e219e8d0a38b6169 (diff)
The header file netinet/in_var.h included netinet6/in6_var.h. This
created a bunch of useless dependencies. Remove this implicit inclusion and do an explicit #include <netinet6/in6_var.h> when it is needed. OK mpi@ henning@
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/ppp/iface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ppp/iface.c b/usr.sbin/ppp/ppp/iface.c
index cb4f002f48a..4fa3662df51 100644
--- a/usr.sbin/ppp/ppp/iface.c
+++ b/usr.sbin/ppp/ppp/iface.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: iface.c,v 1.30 2012/01/23 09:13:16 nicm Exp $
+ * $OpenBSD: iface.c,v 1.31 2013/10/17 16:27:47 bluhm Exp $
*/
#include <sys/param.h>
@@ -39,6 +39,7 @@
#include <netinet/in_var.h>
#include <netinet/ip.h>
#ifndef NOINET6
+#include <netinet6/in6_var.h>
#include <netinet6/nd6.h>
#endif
#include <sys/un.h>