Diff between 7c7ca55111b67f863ad25211805165ee48b32e56 and 02ae811bd08e092f25fdf9f35f11affbc22f8fba

Changed Files

File Additions Deletions Status
tools/hcitool.c +4 -0 modified

Full Patch

diff --git a/tools/hcitool.c b/tools/hcitool.c
index 2cd76a5..648a0f7 100644
--- a/tools/hcitool.c
+++ b/tools/hcitool.c
@@ -46,6 +46,10 @@
 
 #include "src/oui.h"
 
+#ifndef MIN
+#define MIN(a, b) ((a) < (b) ? (a) : (b))
+#endif
+
 /* Unofficial value, might still change */
 #define LE_LINK		0x80