Merge pull request #1 from thunder2/fix_msys2

Fixed MSYS2 compile with gcc 14
This commit is contained in:
csoler 2024-08-11 16:47:36 +02:00 committed by GitHub
commit a364741f62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -30,7 +30,9 @@
#include <stdio.h>
#include <assert.h>
#ifndef WIN32
#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
#endif

View File

@ -22,7 +22,9 @@
/** \file
*/
#ifndef WIN32
#ifdef WIN32
#include <io.h>
#else
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>