; Another fix for MinGW64 build

* src/w32.c: Include <sys/types.h> to avoid compilation error due
to a bug in MinGW64 pthreads_compat.h header.  (Bug#81826)
This commit is contained in:
Eli Zaretskii 2026-09-09 20:00:13 +03:00
parent d5a885882b
commit 530271f5a0

View file

@ -34,6 +34,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <fcntl.h>
#include <signal.h>
#include <sys/file.h>
#include <sys/types.h> /* must be before <time.h>, for MinGW64 */
#include <time.h> /* must be before nt/inc/sys/time.h, for MinGW64 */
#include <sys/time.h>
#include <sys/utime.h>