shithub: dav1d

Download patch

ref: 9f77d9c3e332c169acdfe904768eebdef7c5827f
parent: a194d47854ce95d794680e327790881d56a26632
author: James Almer <jamrial@gmail.com>
date: Mon Nov 19 13:03:23 EST 2018

film_grain: include config.h before other headers

Fixes warnings about redefinition of _WIN32_WINNT on Windows targets

--- a/src/film_grain_tmpl.c
+++ b/src/film_grain_tmpl.c
@@ -26,6 +26,8 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "config.h"
+
 #include <assert.h>
 #include <stdint.h>