Use net/ethernet.h instead of linux/if_ether.h in more cases. Closes 3619

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-04-16 18:31:53 +02:00
parent 8c498b6c6e
commit 2514302658

View File

@ -32,7 +32,7 @@
*/
#include <net/if.h>
#include <net/if_arp.h>
#if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined(_NEWLIB_VERSION)
#ifndef __UCLIBC__
# include <net/ethernet.h>
#else
# include <linux/if_ether.h>