aom: Add missing header for EBUSY on mingw

From 19924274ab14db1a1132a8128e5ae7b1227743c5 Mon Sep 17 00:00:00 2001
From: James Zern <[EMAIL REDACTED]>
Date: Thu, 4 Apr 2024 10:50:54 -0700
Subject: [PATCH] Add missing header for EBUSY on mingw

The `error: use of undeclared identifier 'EBUSY'` in
vpx_util/vpx_pthread.h was found in Mozilla's bug 1886318 [1]. This
patch addresses the issue by adding the `<errno.h>` header to introduce
the `EBUSY` identifier, resolving the problem.

This patch is based on the change in libvpx:
0752960c6 Add missing header for EBUSY on mingw


Change-Id: I90bd6b605613094fe2decfa48831f98941108a6c
 aom_util/aom_pthread.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/aom_util/aom_pthread.h b/aom_util/aom_pthread.h
index 827b9c231..1a97a0a9d 100644
--- a/aom_util/aom_pthread.h
+++ b/aom_util/aom_pthread.h
@@ -28,6 +28,7 @@ extern "C" {
 #define NOMINMAX
 #define WIN32_LEAN_AND_MEAN
+#include <errno.h>    // NOLINT
 #include <process.h>  // NOLINT
 #include <stddef.h>   // NOLINT
 #include <windows.h>  // NOLINT