From 0da220217912e4eba3070f90e984d44506ecd7ca Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 21 Nov 2016 00:06:35 +0800 Subject: [PATCH] moninj: add min declaration --- artiq/runtime/moninj.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/runtime/moninj.c b/artiq/runtime/moninj.c index bc3bccbb6..a90fcad70 100644 --- a/artiq/runtime/moninj.c +++ b/artiq/runtime/moninj.c @@ -12,6 +12,8 @@ #include "log.h" #include "moninj.h" +#define min(a, b) (a>b?b:a) + enum { MONINJ_REQ_MONITOR = 1, MONINJ_REQ_TTLSET = 2