Fix the MinGW64 UCRT64 build

* lib-src/ntlib.c: Include <sys/types.h> earlier, due to a bug in
MinGW64 pthreads_compat.h header.  (Bug#81826)
This commit is contained in:
Eli Zaretskii 2026-09-09 15:02:57 +03:00
parent 0dde9b12a6
commit daae902164

View file

@ -26,9 +26,9 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <time.h>
#include <direct.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <math.h>
#include <errno.h>