diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h index b14214dd..4db29cc3 100644 --- a/src/openvpn/syshead.h +++ b/src/openvpn/syshead.h @@ -398,6 +398,13 @@ #define HAVE_GETTIMEOFDAY_NANOSECONDS 1 #endif +/* + * do we have the MIN() macro? + */ +#ifndef MIN +#define MIN(a,b) (((a)<(b))?(a):(b)) +#endif + /* * Do we have the capability to report extended socket errors? */