1
0
Fork 0
mirror of https://github.com/melonDS-emu/melonDS.git synced 2025-03-06 21:00:31 +01:00
This commit is contained in:
Jaeden Amero 2025-02-21 22:57:27 +01:00 committed by GitHub
commit d55b328de1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -14,6 +14,7 @@
#ifndef _WIN32
#include <sys/socket.h>
#include <netinet/in.h>
#include <fcntl.h>
#include <poll.h>
#include <signal.h>

View file

@ -3,8 +3,13 @@
/* (C)ChaN, 2018 */
/*------------------------------------------------------------------------*/
#ifdef _WIN32
/* Windows will not define localtime_r for us unless we explicitly request it
* with macros. */
#define _POSIX_SOURCE
#define _POSIX_THREAD_SAFE_FUNCTIONS
#endif
#include <time.h>
#include "ff.h"