diff --git a/vdagent/image.cpp b/vdagent/image.cpp index 1b21b53..c0bcdb5 100644 --- a/vdagent/image.cpp +++ b/vdagent/image.cpp @@ -18,11 +18,15 @@ #include #include #include +#include #include "vdcommon.h" #include "image.h" #include "imagepng.h" +#undef max +#undef min + static ImageCoder *get_coder(uint32_t vdagent_type) { switch (vdagent_type) {