summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/bnep.h5
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