aboutsummaryrefslogtreecommitdiff
path: root/i2ctcp/i2ctcpv1.c
diff options
context:
space:
mode:
Diffstat (limited to 'i2ctcp/i2ctcpv1.c')
-rw-r--r--i2ctcp/i2ctcpv1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/i2ctcp/i2ctcpv1.c b/i2ctcp/i2ctcpv1.c
index 1ae1da0..944df3a 100644
--- a/i2ctcp/i2ctcpv1.c
+++ b/i2ctcp/i2ctcpv1.c
@@ -1,5 +1,7 @@
#include <mpack.h>
-#include <sys/param.h> // MIN() macro
+#ifndef MIN
+#define MIN(a,b) (((a) < (b)) ? (a) : (b))
+#endif
#include "i2ctcpv1.h"