moninj: add min declaration

This commit is contained in:
Sebastien Bourdeauducq 2016-11-21 00:06:35 +08:00
parent ec645d3589
commit 0da2202179
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@
#include "log.h" #include "log.h"
#include "moninj.h" #include "moninj.h"
#define min(a, b) (a>b?b:a)
enum { enum {
MONINJ_REQ_MONITOR = 1, MONINJ_REQ_MONITOR = 1,
MONINJ_REQ_TTLSET = 2 MONINJ_REQ_TTLSET = 2