From 3a585b6fe13ff35b6c1ecf12295b2db75e9221c2 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 10 Jul 2008 01:42:26 +0000 Subject: Define MIN if not available --- src/hci.c | 4 ++++ 1 file changed, 4 insertions(+) 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 #include +#ifndef MIN +#define MIN(x, y) ((x) < (y) ? (x) : (y)) +#endif + typedef struct { char *str; unsigned int val; -- cgit