mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-03-06 21:00:31 +01:00
Merge 5db9c0d508
into 63b468927e
This commit is contained in:
commit
d55b328de1
2 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
|
||||
#ifndef _WIN32
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <fcntl.h>
|
||||
#include <poll.h>
|
||||
#include <signal.h>
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue