diff --git a/gst/math-compat.h b/gst/math-compat.h index 02a2b52844..d9b368cfee 100644 --- a/gst/math-compat.h +++ b/gst/math-compat.h @@ -23,7 +23,9 @@ /* This header is not included automatically via gst/gst.h, you need to * include it explicitly if you need it. */ +#ifndef _USE_MATH_DEFINES #define _USE_MATH_DEFINES /* so MSVC defines M_PI etc. */ +#endif #include #include