summaryrefslogtreecommitdiffstats
path: root/usr.sbin/npppd
diff options
context:
space:
mode:
authoryasuoka <yasuoka@openbsd.org>2017-04-18 03:25:22 +0000
committeryasuoka <yasuoka@openbsd.org>2017-04-18 03:25:22 +0000
commit8488f59d3af9f20d03cb1c2c7fa49659188db41d (patch)
treeae3f19bdeace00313d460a074a1639a1580344b2 /usr.sbin/npppd
parentIncluding sys/types.h and net/if.h are needed to use pipex(4). (diff)
downloadwireguard-openbsd-8488f59d3af9f20d03cb1c2c7fa49659188db41d.tar.xz
wireguard-openbsd-8488f59d3af9f20d03cb1c2c7fa49659188db41d.zip
Delete #include lines which are unnecessary.
Diffstat (limited to 'usr.sbin/npppd')
-rw-r--r--usr.sbin/npppd/npppd/npppd.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/usr.sbin/npppd/npppd/npppd.c b/usr.sbin/npppd/npppd/npppd.c
index 2e4e7d3a7b5..eddce7dd238 100644
--- a/usr.sbin/npppd/npppd/npppd.c
+++ b/usr.sbin/npppd/npppd/npppd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: npppd.c,v 1.43 2015/12/05 16:10:31 yasuoka Exp $ */
+/* $OpenBSD: npppd.c,v 1.44 2017/04/18 03:25:22 yasuoka Exp $ */
/*-
* Copyright (c) 2005-2008,2009 Internet Initiative Japan Inc.
@@ -29,7 +29,7 @@
* Next pppd(nppd). This file provides a npppd daemon process and operations
* for npppd instance.
* @author Yasuoka Masahiko
- * $Id: npppd.c,v 1.43 2015/12/05 16:10:31 yasuoka Exp $
+ * $Id: npppd.c,v 1.44 2017/04/18 03:25:22 yasuoka Exp $
*/
#include "version.h"
#include <sys/param.h> /* ALIGNED_POINTER */
@@ -80,13 +80,6 @@
#endif /* USE_NPPPD_PPPOE */
#include "psm-opt.h"
#include <sys/ioctl.h>
-#if defined(__NetBSD__)
-#include <net/if_ether.h>
-#else
-#include <netinet/if_ether.h>
-#endif
-#include <netinet/ip_var.h>
-#include <net/if_types.h>
#include <net/pipex.h>
#endif /* USE_NPPPD_PIPEX */