summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rtsold/if.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-08-11 15:51:54 +0000
committerume <ume@FreeBSD.org>2003-08-11 15:51:54 +0000
commita3738aa5cfd3363f4841d7f50249e183b957de36 (patch)
treeb02ede78804396e1b4d48528a8b846cf77a70533 /usr.sbin/rtsold/if.c
parent44f95bb1cf973ee7e97882481b4462f246d78836 (diff)
downloadFreeBSD-src-a3738aa5cfd3363f4841d7f50249e183b957de36.zip
FreeBSD-src-a3738aa5cfd3363f4841d7f50249e183b957de36.tar.gz
reduce #ifdef.
MFC after: 1 week
Diffstat (limited to 'usr.sbin/rtsold/if.c')
-rw-r--r--usr.sbin/rtsold/if.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/usr.sbin/rtsold/if.c b/usr.sbin/rtsold/if.c
index 3d4632e..d2cc01e 100644
--- a/usr.sbin/rtsold/if.c
+++ b/usr.sbin/rtsold/if.c
@@ -38,23 +38,12 @@
#include <sys/queue.h>
#include <net/if.h>
-#if defined(__FreeBSD__) && __FreeBSD__ >= 3
#include <net/if_var.h>
-#endif /* __FreeBSD__ >= 3 */
#include <net/if_types.h>
#include <net/route.h>
#include <net/if_dl.h>
#include <net/if_media.h>
-#ifdef __FreeBSD__
-# include <net/ethernet.h>
-#endif
-#ifdef __NetBSD__
-#include <net/if_ether.h>
-#endif
-#if defined(__bsdi__) || defined(__OpenBSD__)
-# include <netinet/in.h>
-# include <netinet/if_ether.h>
-#endif
+#include <net/ethernet.h>
#include <netinet/in.h>
#include <netinet/icmp6.h>
OpenPOWER on IntegriCloud