diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-07-10 01:42:07 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-07-10 01:42:07 +0000 |
commit | dbd0371b179c7fc4a6dae79ad66d149eff7687c9 (patch) | |
tree | 7a6aa7ea8aa4975c646e61331eb686a0fa8e0ecf /include | |
parent | cd8c7ab8f70bd0f0c1c69bd9454be0ad25809533 (diff) |
Avoid the include of <net/ethernet.h>
Diffstat (limited to 'include')
-rw-r--r-- | include/bnep.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/bnep.h b/include/bnep.h index 75eaac05..92c66c14 100644 --- a/include/bnep.h +++ b/include/bnep.h @@ -29,9 +29,12 @@ extern "C" { #endif -#include <net/ethernet.h> #include <bluetooth/bluetooth.h> +#ifndef ETH_ALEN +#define ETH_ALEN 6 /* from <net/ethernet.h> */ +#endif + /* BNEP UUIDs */ #define BNEP_BASE_UUID 0x0000000000001000800000805F9B34FB #define BNEP_UUID16 0x02 |