Let's use MIN() from <sys/param.h>.