shithub: dav1d

Download patch

ref: 32accaa47f94a243e7e8c6e1783751027a4c7fe0
parent: c4be071d739c356d67f2a9f5d9ea3963a69dd662
author: James Almer <[email protected]>
date: Tue Nov 20 14:16:11 EST 2018

dav1d_fuzzer: include config.h before other headers

Fixes warnings about redefinition of _WIN32_WINNT on Windows targets
introduced by b716083c7a.

--- a/tests/libfuzzer/dav1d_fuzzer.c
+++ b/tests/libfuzzer/dav1d_fuzzer.c
@@ -25,6 +25,8 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "config.h"
+
 #include <errno.h>
 #include <stddef.h>
 #include <stdint.h>