diff --git a/src/suricata-common.h b/src/suricata-common.h index 9aafa7aa35..deb0e077cc 100644 --- a/src/suricata-common.h +++ b/src/suricata-common.h @@ -282,6 +282,10 @@ #define pcre_free_study pcre_free #endif +#ifndef MIN +#define MIN(x, y) (((x)<(y))?(x):(y)) +#endif + typedef enum PacketProfileDetectId_ { PROF_DETECT_MPM, PROF_DETECT_MPM_PACKET, /* PKT MPM */