commit | badd7e1a58fc2ce704fd8fc2a1f335bd30a67542 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Dec 15 18:47:14 2014 -0800 |
committer | Elliott Hughes <enh@google.com> | Mon Dec 15 18:47:14 2014 -0800 |
tree | b149a0df132d1eb4fdd47077cdd4564a256f796f | |
parent | ad01c9831918ecae815db2406022ef69e74f6e6d [diff] [blame] |
Fix <net/route.h>. Previously it couldn't be included alone. Also add a header and include guard, and fix its siblings' include guards. Bug: https://code.google.com/p/android/issues/detail?id=82638 Change-Id: I32139a4bda0a6b015508a2319bf4e1a1453345f2
diff --git a/libc/include/net/ethernet.h b/libc/include/net/ethernet.h index b1b88dd..47858b3 100644 --- a/libc/include/net/ethernet.h +++ b/libc/include/net/ethernet.h
@@ -25,8 +25,11 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ + #ifndef _NET_ETHERNET_H_ -#define _NET_IF_ETHERNET_H_ +#define _NET_ETHERNET_H_ + #include <linux/if_ether.h> #include <net/if_ether.h> -#endif /* !_NET_ETHERNET_H_ */ + +#endif