Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Requires <net/if.h> to be compilable by itself.



details:   https://anonhg.NetBSD.org/src/rev/b09c328b6ef8
branches:  trunk
changeset: 781776:b09c328b6ef8
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Sep 30 05:08:08 2012 +0000

description:
Requires <net/if.h> to be compilable by itself.

diffstat:

 sys/net/if_ether.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r d78a890275f9 -r b09c328b6ef8 sys/net/if_ether.h
--- a/sys/net/if_ether.h        Sun Sep 30 05:02:08 2012 +0000
+++ b/sys/net/if_ether.h        Sun Sep 30 05:08:08 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ether.h,v 1.58 2010/05/19 20:41:59 christos Exp $   */
+/*     $NetBSD: if_ether.h,v 1.59 2012/09/30 05:08:08 dholland Exp $   */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -41,6 +41,10 @@
 #include <sys/mbuf.h>
 #endif
 
+#ifndef _STANDALONE
+#include <net/if.h>
+#endif
+
 /*
  * Some basic Ethernet constants.
  */



Home | Main Index | Thread Index | Old Index