summaryrefslogtreecommitdiffstats
path: root/src/hci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hci.c')
-rw-r--r--src/hci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hci.c b/src/hci.c
index e2c355c0..a72b0355 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -45,6 +45,10 @@
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
+#ifndef MIN
+#define MIN(x, y) ((x) < (y) ? (x) : (y))
+#endif
+
typedef struct {
char *str;
unsigned int val;